bake-toolkit 2.51.1 → 2.51.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bake/options/options.rb +4 -1
- data/lib/bake/options/usage.rb +2 -1
- data/lib/common/version.rb +1 -1
- data/lib/tocxx.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8697a5a661d397ab0b18922825cbec08120b390511ca0a57aaa45d9a7c92005f
|
4
|
+
data.tar.gz: 5f30afd19285987fa95a39e5ba0fbf51dfd3cc3c5d352a8d86a95ce168c85829
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 177e19aa83ad0525fde24d4e5ae6fb032cb082bb24cbaffb51d24024a6196f725b6be47be1951a86270ad8034573e28c19576e319b2e4218962534527197c6f2
|
7
|
+
data.tar.gz: 1b14989c0d2d91a27bfd1f2dab31268978e35c519f9755c4785df8a33612d13cdd26ef22fe79b55542fecdd50ba157be5de8f644e9b75b627efbf5acbdad4598
|
data/lib/bake/options/options.rb
CHANGED
@@ -24,6 +24,7 @@ module Bake
|
|
24
24
|
attr_reader :include_filter, :exclude_filter, :adapt # String List
|
25
25
|
attr_reader :conversion_info, :stopOnFirstError, :clean, :rebuild, :show_includes, :show_includes_and_defines, :projectPaths, :qac, :dry, :syncedOutput, :debug_threads, :skipBuildingLine # Boolean
|
26
26
|
attr_reader :linkOnly, :compileOnly, :no_autodir, :clobber, :docu, :debug, :prepro, :prebuild, :printTime, :json, :wparse, :caseSensitivityCheck, :fileCmd, :profiling # Boolean
|
27
|
+
attr_reader :dotAndCompile
|
27
28
|
attr_reader :threads, :socket # Fixnum
|
28
29
|
attr_reader :vars, :include_filter_args # map
|
29
30
|
attr_reader :verbose
|
@@ -89,6 +90,7 @@ module Bake
|
|
89
90
|
@diabCaseCheck = false
|
90
91
|
@defines = []
|
91
92
|
@fileCmd = false
|
93
|
+
@dotAndCompile = false
|
92
94
|
|
93
95
|
add_option(["-b", "" ], lambda { |x| set_build_config(x) })
|
94
96
|
add_option(["-m" ], lambda { |x| @main_dir = x })
|
@@ -130,7 +132,8 @@ module Bake
|
|
130
132
|
add_option(["--socket" ], lambda { |x| @socket = String === x ? x.to_i : x })
|
131
133
|
add_option(["--toolchain-info", "--toolchain_info" ], lambda { |x| ToolchainInfo.showToolchain(x) })
|
132
134
|
add_option(["--toolchain-names", "--toolchain_names" ], lambda { ToolchainInfo.showToolchainList })
|
133
|
-
add_option(["--dot", ], lambda { |x| @dot = x
|
135
|
+
add_option(["--dot", ], lambda { |x| @dot = x; @dotAndCompile = false })
|
136
|
+
add_option(["--dotc", ], lambda { |x| @dot = x; @dotAndCompile = true })
|
134
137
|
add_option(["--do", "--include_filter" ], lambda { |x| set_filter(x) })
|
135
138
|
add_option(["--omit", "--exclude_filter" ], lambda { |x| @exclude_filter << x })
|
136
139
|
add_option(["--abs-paths", "--show_abs_paths" ], lambda { @consoleOutput_fullnames = true })
|
data/lib/bake/options/usage.rb
CHANGED
@@ -39,7 +39,8 @@ module Bake
|
|
39
39
|
puts " --socket <num> Set SOCKET for sending errors, receiving commands, etc. - used by e.g. Eclipse."
|
40
40
|
puts " --toolchain-info <name> Prints default values of a toolchain."
|
41
41
|
puts " --toolchain-names Prints available toolchains."
|
42
|
-
puts " --dot <filename> Creates a .dot file of the config dependencies."
|
42
|
+
puts " --dot <filename> Creates a .dot file of the config dependencies, compilation does not take place."
|
43
|
+
puts " --dotc <filename> Same as --dot, but with compilation."
|
43
44
|
puts " --do <name>[=<arg>] Includes elements with this filter name (can be used multiple times)."
|
44
45
|
puts " Optional arguments which can be accessed in Project.meta via $(FilterArguments, <name>)."
|
45
46
|
puts " 'PRE', 'POST', 'STARTUP', 'EXIT' or 'CLEAN' includes all according steps."
|
data/lib/common/version.rb
CHANGED
data/lib/tocxx.rb
CHANGED
@@ -358,7 +358,6 @@ module Bake
|
|
358
358
|
end
|
359
359
|
|
360
360
|
def makeDot
|
361
|
-
|
362
361
|
File.open(Bake.options.dot, 'w') do |file|
|
363
362
|
puts "Creating #{Bake.options.dot}"
|
364
363
|
|
@@ -428,7 +427,7 @@ module Bake
|
|
428
427
|
file.write "}\n"
|
429
428
|
end
|
430
429
|
|
431
|
-
ExitHelper.exit(0)
|
430
|
+
ExitHelper.exit(0) if !Bake.options.dotAndCompile
|
432
431
|
end
|
433
432
|
|
434
433
|
def convert2bb
|
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.51.
|
4
|
+
version: 2.51.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Schaal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|