bake-toolkit 2.37.2 → 2.37.3

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
  SHA1:
3
- metadata.gz: a45aa63944be2d13c5930eb7d647b2698e5fe5cc
4
- data.tar.gz: bd806a9beba3f69d8bd86ec10ca6272d8ec1044c
3
+ metadata.gz: 3c3db2b5d5d9b971cc8be9b66bc839ea89d95688
4
+ data.tar.gz: bca9760382f776a84599f287d9d5748b54c1127f
5
5
  SHA512:
6
- metadata.gz: 64c323e37a9ed5401d5e14060e2f1ff41ffcc45f3d878a206ab6d8b2b697ee5d5d645d7c25bca1dc3dedbd31b1735deeef08c023510f7e8834a8b3cb080f1db5
7
- data.tar.gz: 830a4382f9ef11dc1945f0ffc7c31cb32530feac9f04815a02f8ecc26ef0fd6de72a98c48873abb184ac2af268382641f8af4b6a38bd50fee6226db805a98252
6
+ metadata.gz: 7950ade9a90bb0248e48f61ca43b6c9ce971e22bd07d1a65bf3731f9f9b4e96c92bf33b741622f79221d926299e69b9c6a1d9b1c5bc0a2f876e9b898dc89cf92
7
+ data.tar.gz: 27466dda71c0abb5fbb156f7cd41f3e82df6050106d6f5b05f4aa81776c169245831d66f1fb5b862b5ee97cd0622bf8d7112a20c6bc70bddcede61129df33f73
@@ -402,7 +402,7 @@ end
402
402
 
403
403
  cmd = qaExe + ["report", "-P", @options.qacdata, "-t", "MDR"]
404
404
 
405
- success, consoleOutput = ProcessHelper.run(cmd, false)
405
+ success, consoleOutput, checkError = executeQacli(cmd)
406
406
  puts consoleOutput
407
407
 
408
408
  success = true if consoleOutput.include?"The specified project does not have any source files"
@@ -181,9 +181,24 @@ module Bake
181
181
  substStr << @@toolchainName
182
182
  elsif var == "ProjectName"
183
183
  substStr << @@projName
184
- elsif var == "ProjectDir"
185
- substStr << @@projDir
186
- elsif var == "OutputDir" or (splittedVar.length == 3 and splittedVar[0] == "OutputDir")
184
+ elsif var == "ProjectDir" or (splittedVar.length == 2 and splittedVar[0] == "ProjectDir")
185
+ if (var == "ProjectDir")
186
+ substStr << @@projDir
187
+ else
188
+ out_proj_name = splittedVar[1].strip
189
+ if @@referencedConfigs.has_key?out_proj_name
190
+ configs = @@referencedConfigs[out_proj_name]
191
+ config = configs.first
192
+
193
+ substStr << File.rel_from_to_project(@@projDir,config.get_project_dir,false)
194
+ else
195
+ if Bake.options.verbose > 0
196
+ msg = "Substitute variable '$(#{var})' with empty string, because project #{out_proj_name} not found"
197
+ Bake.formatter.printInfo(msg, elem ? elem : @@config)
198
+ end
199
+ end
200
+ end
201
+ elsif var == "OutputDir" or (splittedVar.length == 3 and splittedVar[0] == "ProjectDir")
187
202
  if (var == "OutputDir")
188
203
  out_proj_name = @@projName
189
204
  out_conf_name = @@configName
@@ -1,7 +1,7 @@
1
1
  module Bake
2
2
  class Version
3
3
  def self.number
4
- "2.37.2"
4
+ "2.37.3"
5
5
  end
6
6
 
7
7
  def self.printBakeVersion(ry = "")
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.37.2
4
+ version: 2.37.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Schaal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-03 00:00:00.000000000 Z
11
+ date: 2017-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rtext