bake-toolkit 2.51.1 → 2.51.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 771955482dda9f59e04cd69e77f683dad01845343c74431954a45672aa61f6e1
4
- data.tar.gz: e3e7b1fbe292cec0cdbd9ec58196ecce31d810c56bc7f998d3324c19892ac062
3
+ metadata.gz: 8697a5a661d397ab0b18922825cbec08120b390511ca0a57aaa45d9a7c92005f
4
+ data.tar.gz: 5f30afd19285987fa95a39e5ba0fbf51dfd3cc3c5d352a8d86a95ce168c85829
5
5
  SHA512:
6
- metadata.gz: 07faaf7e35a7da1c6286e86c2999fe106694de85e17340197b5483940ccf97b996106258913451ae8c9ceb89b015daa2b27072a570f94f8e4d673180d6bdd919
7
- data.tar.gz: 9e74ebe6df34e8f5e68ba3ea71af3b39ec68089cfd3484b53b09651c10ecc723b3625b41a8ea32e40fc2311a6dc7430bb7723cb3393e4b071f05720419df68af
6
+ metadata.gz: 177e19aa83ad0525fde24d4e5ae6fb032cb082bb24cbaffb51d24024a6196f725b6be47be1951a86270ad8034573e28c19576e319b2e4218962534527197c6f2
7
+ data.tar.gz: 1b14989c0d2d91a27bfd1f2dab31268978e35c519f9755c4785df8a33612d13cdd26ef22fe79b55542fecdd50ba157be5de8f644e9b75b627efbf5acbdad4598
@@ -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 })
@@ -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."
@@ -1,7 +1,7 @@
1
1
  module Bake
2
2
  class Version
3
3
  def self.number
4
- "2.51.1"
4
+ "2.51.2"
5
5
  end
6
6
 
7
7
  def self.printBakeVersion(ry = "")
@@ -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.1
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-21 00:00:00.000000000 Z
11
+ date: 2019-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rtext