bake-toolkit 2.59.0 → 2.60.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f180513d1b93699bc796de737af3092d8f8fca946c4288f807f4457443249cd8
4
- data.tar.gz: 3e9351c22a0b019c8898dd481d244111d8d57c58633375a23eacb14db437504d
3
+ metadata.gz: a05f5baab5566671c4deff626aceaea52a9b0d4274c03f9737823b3809039bb2
4
+ data.tar.gz: d407fbc0d01b0fded6b7453ac41446494725cfc575bfd472a77c2d4096738a82
5
5
  SHA512:
6
- metadata.gz: 0d219c7ac0087e19df782494589127baafd9b22978d20ebaadd1a58b12936cec2c1de1447a1620413fd73b84d1edcf7e64e177cec5774032e047dc9f9770b799
7
- data.tar.gz: d2c9e76821363aa6eca4d973c4d0f550f5f62c4a7fb1d08f676c07b8f5ad03ad812c3dd73f60f689c5a76646fc7676ec4b6dd3d64b969451ef8e9b46125469bf
6
+ metadata.gz: 7dc782d118b9fefd102ad6948dc4bfeb38ac7ac0cffcca4581719e994ad69927271523bd1a46472ed92573769754ca44af9c655c139e3ae4fa96a1887bd18862
7
+ data.tar.gz: e89c99ee42fd0602c6cdcc443ae3924b12af3a7e84ffe308486137ba1a77921bedd991d33a41fcf5e18681c932cda416a5388a9537a1bcae20785cbcc33351ff
@@ -23,7 +23,7 @@ module Bake
23
23
  @@threads = []
24
24
 
25
25
  attr_reader :lib_elements, :projectDir, :library, :config, :projectName, :configName, :prebuild, :output_dir, :tcs
26
- attr_accessor :visited, :inDeps, :result, :bes
26
+ attr_accessor :visited, :inDeps, :result, :bes, :besDirect
27
27
 
28
28
  def startupSteps
29
29
  @startupSteps ||= []
@@ -82,6 +82,7 @@ module Bake
82
82
  @result = true
83
83
  @tcs = tcs
84
84
  @bes = []
85
+ @besDirect = []
85
86
  @lib_elements = []
86
87
 
87
88
  calcOutputDir
@@ -278,9 +279,11 @@ module Bake
278
279
  end
279
280
 
280
281
  def callDeps(method)
282
+ return true if Bake.options.project
281
283
  depResult = true
282
- dependencies.each do |dep|
283
- depResult = (ALL_BLOCKS[dep].send(method) and depResult)
284
+ bes.each do |dep|
285
+ next if Metamodel::IncludeDir === dep
286
+ depResult = (ALL_BLOCKS[dep.name+","+dep.config].send(method) and depResult)
284
287
  break if (!depResult) && Bake.options.stopOnFirstError
285
288
  end
286
289
  return depResult
@@ -1,7 +1,7 @@
1
1
  module Bake
2
2
  class Version
3
3
  def self.number
4
- "2.59.0"
4
+ "2.60.0"
5
5
  end
6
6
 
7
7
  def self.printBakeVersion(ry = "")
@@ -156,6 +156,7 @@ module Bake
156
156
  block.visited = true
157
157
 
158
158
  block.bes = []
159
+ block.besDirect = []
159
160
  block.config.depInc.each do |dep|
160
161
  if (Metamodel::Dependency === dep)
161
162
  @referencedConfigs[dep.name].each do |configRef|
@@ -175,6 +176,7 @@ module Bake
175
176
  block.bes += subDeps
176
177
  end
177
178
  block.bes << dep
179
+ block.besDirect << dep
178
180
  break
179
181
  end
180
182
  end
@@ -331,10 +333,10 @@ module Bake
331
333
  difr2 = difr
332
334
  diba2 = diba
333
335
  end
334
-
335
336
  fde = Blocks::ALL_BLOCKS[dep.name+","+dep.config]
336
337
  l1 = fde.bes.length
337
338
  fde.bes = (difr2 + fde.bes + diba2).uniq # .select{|d| !(Metamodel::Dependency===d) || d.name != dep.name || d.config != dep.config }
339
+ fde.besDirect = (difr2 + fde.besDirect + diba2).uniq
338
340
  l2 = fde.bes.length
339
341
  counter += 1 if (l2 != l1)
340
342
  end
@@ -410,13 +412,15 @@ module Bake
410
412
  @referencedConfigs.each do |projName, configs|
411
413
  depsToProj = []
412
414
  configs.each do |config|
413
- config.dependency.each do |d|
415
+ the_c = Blocks::ALL_BLOCKS[config.parent.name+","+config.name]
416
+ the_c.besDirect.each do |d|
417
+ next if Metamodel::IncludeDir === d
414
418
  if onlyProjectName
415
419
  next if config.parent.name != onlyProjectName && d.name != onlyProjectName
416
420
  if onlyConfigName
417
421
  leftSide = config.name == onlyConfigName && config.parent.name == onlyProjectName
418
422
  rightSide = d.config == onlyConfigName && d.name == onlyProjectName
419
- next if not leftSide and not rightSide
423
+ next if !leftSide && !rightSide
420
424
  end
421
425
  end
422
426
  if Bake.options.dotShowProjOnly
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.59.0
4
+ version: 2.60.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: 2020-03-06 00:00:00.000000000 Z
11
+ date: 2020-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rtext