bake-toolkit 2.12.2 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/bake +0 -1
- data/bin/bake-doc +2 -2
- data/documentation/_build/html/_sources/changelog.txt +29 -2
- data/documentation/_build/html/_sources/ide/vs/how_to_create_vs_projects.txt +1 -1
- data/documentation/_build/html/_sources/index.txt +1 -1
- data/documentation/_build/html/_sources/tips_and_tricks/static_code_analysis.txt +4 -4
- data/documentation/_build/html/_sources/tips_and_tricks/the_bakery.txt +7 -1
- data/documentation/_build/html/_static/syntax.html +10 -2
- data/documentation/_build/html/changelog.html +80 -5
- data/documentation/_build/html/commandline/commandline.html +3 -3
- data/documentation/_build/html/concepts/build_hierarchy.html +3 -3
- data/documentation/_build/html/concepts/concepts.html +3 -3
- data/documentation/_build/html/concepts/the_main_project.html +3 -3
- data/documentation/_build/html/concepts/the_project_meta_file.html +3 -3
- data/documentation/_build/html/genindex.html +3 -3
- data/documentation/_build/html/ide/eclipse/eclipse.html +3 -3
- data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +3 -3
- data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +3 -3
- data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +3 -3
- data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +3 -3
- data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +3 -3
- data/documentation/_build/html/ide/ide_integrations.html +3 -3
- data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +4 -4
- data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +3 -3
- data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +3 -3
- data/documentation/_build/html/ide/vs/vs.html +3 -3
- data/documentation/_build/html/ide/vs/vs_install.html +3 -3
- data/documentation/_build/html/index.html +6 -6
- data/documentation/_build/html/install/install_bake.html +3 -3
- data/documentation/_build/html/internal.html +3 -3
- data/documentation/_build/html/known_issues.html +3 -3
- data/documentation/_build/html/license.html +3 -3
- data/documentation/_build/html/performance/performance.html +3 -3
- data/documentation/_build/html/quickstart/quickstart.html +3 -3
- data/documentation/_build/html/search.html +3 -3
- data/documentation/_build/html/searchindex.js +1 -1
- data/documentation/_build/html/syntax/derive_configs.html +3 -3
- data/documentation/_build/html/syntax/project_meta_syntax.html +13 -5
- data/documentation/_build/html/syntax/syntax.html +3 -3
- data/documentation/_build/html/syntax/variable_substitutions.html +3 -3
- data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +3 -3
- data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +7 -7
- data/documentation/_build/html/tips_and_tricks/the_bakery.html +8 -4
- data/documentation/_build/html/tips_and_tricks/the_clang.html +3 -3
- data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +3 -3
- data/documentation/_build/html/why_bake/why_bake.html +5 -5
- data/lib/bake/config/loader.rb +42 -0
- data/lib/bake/model/metamodel.rb +6 -0
- data/lib/bake/options/options.rb +63 -68
- data/lib/bake/options/showDoc.rb +0 -7
- data/lib/bake/options/usage.rb +16 -17
- data/lib/bakery/options/options.rb +9 -9
- data/lib/bakery/toBake.rb +1 -1
- data/lib/blocks/compile.rb +3 -5
- data/lib/blocks/executable.rb +6 -1
- data/lib/blocks/library.rb +6 -3
- data/lib/common/options/parser.rb +19 -14
- data/lib/common/version.rb +1 -1
- data/lib/vs/options.rb +9 -8
- metadata +2 -3
- data/lib/common/options/option.rb +0 -13
data/lib/common/version.rb
CHANGED
data/lib/vs/options.rb
CHANGED
|
@@ -13,10 +13,11 @@ module Bake
|
|
|
13
13
|
@rewriteSolution = false
|
|
14
14
|
@roots = []
|
|
15
15
|
|
|
16
|
-
add_option(
|
|
17
|
-
add_option(
|
|
18
|
-
add_option(
|
|
19
|
-
add_option(
|
|
16
|
+
add_option(["--version" ], lambda { |x| set_version(x) })
|
|
17
|
+
add_option(["--rewrite", "--rewrite_solution"], lambda { set_rewrite_solution })
|
|
18
|
+
add_option(["-w", ], lambda { |x| set_root(x) })
|
|
19
|
+
add_option(["-h", "--help" ], lambda { usage; ExitHelper.exit(0) })
|
|
20
|
+
add_option(["" ], lambda { |x| puts "Error: invalid argument #{x}"; usage; ExitHelper.exit(1) })
|
|
20
21
|
end
|
|
21
22
|
|
|
22
23
|
def usage
|
|
@@ -24,13 +25,13 @@ module Bake
|
|
|
24
25
|
puts " -w <root> Add a workspace root. Default is current directory."
|
|
25
26
|
puts " This option can be used at multiple times."
|
|
26
27
|
puts " Solution files will be created in the first root directory."
|
|
27
|
-
puts " --version <year> Visual Studio version. Currently supported: 2010
|
|
28
|
-
puts " --
|
|
29
|
-
puts " -h
|
|
28
|
+
puts " --version <year> Visual Studio version. Currently supported: 2010, 2012 (default) and 2013."
|
|
29
|
+
puts " --rewrite Rewrites existing solution files instead of appending new projects."
|
|
30
|
+
puts " -h, --help Print this help."
|
|
30
31
|
end
|
|
31
32
|
|
|
32
33
|
def parse_options()
|
|
33
|
-
parse_internal(
|
|
34
|
+
parse_internal()
|
|
34
35
|
@roots << Dir.pwd if @roots.length == 0
|
|
35
36
|
end
|
|
36
37
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bake-toolkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Schaal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rtext
|
|
@@ -144,7 +144,6 @@ files:
|
|
|
144
144
|
- lib/common/ext/file.rb
|
|
145
145
|
- lib/common/ext/stdout.rb
|
|
146
146
|
- lib/common/ide_interface.rb
|
|
147
|
-
- lib/common/options/option.rb
|
|
148
147
|
- lib/common/options/parser.rb
|
|
149
148
|
- lib/common/process.rb
|
|
150
149
|
- lib/common/utils.rb
|