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 +4 -4
- data/bin/bakeqac +1 -1
- data/lib/bake/subst.rb +18 -3
- data/lib/common/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c3db2b5d5d9b971cc8be9b66bc839ea89d95688
|
4
|
+
data.tar.gz: bca9760382f776a84599f287d9d5748b54c1127f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7950ade9a90bb0248e48f61ca43b6c9ce971e22bd07d1a65bf3731f9f9b4e96c92bf33b741622f79221d926299e69b9c6a1d9b1c5bc0a2f876e9b898dc89cf92
|
7
|
+
data.tar.gz: 27466dda71c0abb5fbb156f7cd41f3e82df6050106d6f5b05f4aa81776c169245831d66f1fb5b862b5ee97cd0622bf8d7112a20c6bc70bddcede61129df33f73
|
data/bin/bakeqac
CHANGED
@@ -402,7 +402,7 @@ end
|
|
402
402
|
|
403
403
|
cmd = qaExe + ["report", "-P", @options.qacdata, "-t", "MDR"]
|
404
404
|
|
405
|
-
success, consoleOutput =
|
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"
|
data/lib/bake/subst.rb
CHANGED
@@ -181,9 +181,24 @@ module Bake
|
|
181
181
|
substStr << @@toolchainName
|
182
182
|
elsif var == "ProjectName"
|
183
183
|
substStr << @@projName
|
184
|
-
elsif var == "ProjectDir"
|
185
|
-
|
186
|
-
|
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
|
data/lib/common/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|