write out cache file when raising a build error exception
This commit is contained in:
parent
289d27d41d
commit
711e96cec8
@ -149,6 +149,7 @@ module Rscons
|
|||||||
@targets.each do |target, info|
|
@targets.each do |target, info|
|
||||||
next if targets_processed.include?(target)
|
next if targets_processed.include?(target)
|
||||||
unless process_target.call(target)
|
unless process_target.call(target)
|
||||||
|
cache.write
|
||||||
raise BuildError.new("Failed to build #{target}")
|
raise BuildError.new("Failed to build #{target}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
module Rscons
|
module Rscons
|
||||||
# gem version
|
# gem version
|
||||||
VERSION = "0.0.4"
|
VERSION = "0.0.5"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user