bake-toolkit 2.61.0 → 2.62.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/blocks/blockBase.rb +0 -1
- data/lib/blocks/compile.rb +6 -7
- data/lib/common/version.rb +1 -1
- 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: b32e4c31cf5d36f26b6f3287b4c31ec250b5f6ad49118d9b8823351fcccc7a63
|
4
|
+
data.tar.gz: d83e5c807aaa312b9ada14d0f330cf5b0177a7e78489ebd038f32c49c08caaf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3fcbdebee31ec340a3967c11df66e905355551d7a32daa2646573c1e1b004bfcb5aab944bda38fe36bf04fe15b7c91d91948dc4822beb972b7503af72d2f092
|
7
|
+
data.tar.gz: 5981dcc38b1dd5f0001b0fd4218d247499a9ae840619ed851a22f61ba940f0db3e1e840491c393079910f207262b9ceab6464403c9ae8b41aff4599ffb7ea0ee
|
data/lib/blocks/blockBase.rb
CHANGED
@@ -131,7 +131,6 @@ module Bake
|
|
131
131
|
if metadata_json = Bake.options.dev_features.include?("no-error-parser")
|
132
132
|
error_descs = []
|
133
133
|
console_output_full = x[0]
|
134
|
-
incList = []
|
135
134
|
else
|
136
135
|
error_descs, console_output_full, incList = error_parser.scan_lines(x, @projectDir)
|
137
136
|
end
|
data/lib/blocks/compile.rb
CHANGED
@@ -264,16 +264,17 @@ module Bake
|
|
264
264
|
success = true
|
265
265
|
consoleOutput = ""
|
266
266
|
incList = nil
|
267
|
+
|
267
268
|
if !Bake.options.diabCaseCheck
|
268
269
|
success, consoleOutput = ProcessHelper.run(realCmd, false, false, nil, [0], @projectDir) if !Bake.options.dry
|
269
270
|
incList = process_result(realCmd, consoleOutput, compiler[:ERROR_PARSER], nil, reason, success)
|
270
271
|
end
|
271
272
|
|
272
|
-
if type != :ASM
|
273
|
+
if type != :ASM && !Bake.options.analyze && !Bake.options.prepro
|
273
274
|
Dir.mutex.synchronize do
|
274
275
|
if !Bake.options.diabCaseCheck
|
275
276
|
Dir.chdir(@projectDir) do
|
276
|
-
incList = Compile.read_depfile(dep_filename, @projectDir, @block.tcs[:COMPILER][:DEP_FILE_SINGLE_LINE]) if incList.nil?
|
277
|
+
incList = Compile.read_depfile(dep_filename, @projectDir, @block.tcs[:COMPILER][:DEP_FILE_SINGLE_LINE], compiler[:COMMAND]) if incList.nil?
|
277
278
|
Compile.write_depfile(source, incList, dep_filename_conv, @projectDir)
|
278
279
|
end
|
279
280
|
end
|
@@ -291,7 +292,7 @@ module Bake
|
|
291
292
|
raise SystemCommandFailed.new
|
292
293
|
end
|
293
294
|
Dir.chdir(@projectDir) do
|
294
|
-
incList = Compile.read_depfile(dep_filename, @projectDir, @block.tcs[:COMPILER][:DEP_FILE_SINGLE_LINE])
|
295
|
+
incList = Compile.read_depfile(dep_filename, @projectDir, @block.tcs[:COMPILER][:DEP_FILE_SINGLE_LINE], compiler[:COMMAND])
|
295
296
|
Compile.write_depfile(source, incList, dep_filename_conv, @projectDir)
|
296
297
|
end
|
297
298
|
ergs = consoleOutput.scan(/# \d+ "([^"]+)" \d+/)
|
@@ -341,14 +342,12 @@ module Bake
|
|
341
342
|
SyncOut.flushOutput()
|
342
343
|
end
|
343
344
|
end
|
344
|
-
|
345
|
-
|
346
|
-
|
347
345
|
end
|
348
346
|
|
349
|
-
def self.read_depfile(dep_filename, projDir, lineType)
|
347
|
+
def self.read_depfile(dep_filename, projDir, lineType, command = "")
|
350
348
|
deps = []
|
351
349
|
begin
|
350
|
+
lineType = :single if command.include?("cafeCC")
|
352
351
|
if lineType == :single
|
353
352
|
File.readlines(dep_filename).each do |line|
|
354
353
|
splitted = line.split(": ")
|
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.
|
4
|
+
version: 2.62.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-05-
|
11
|
+
date: 2020-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rtext
|