Environment: slight syntax cleanup
This commit is contained in:
parent
9b4526b518
commit
9c69a45f77
@ -56,10 +56,9 @@ module Rscons
|
|||||||
cache = Cache.new
|
cache = Cache.new
|
||||||
targets_processed = Set.new
|
targets_processed = Set.new
|
||||||
process_target = proc do |target|
|
process_target = proc do |target|
|
||||||
sources_built = @targets[target][:source].map do |src|
|
if @targets[target][:source].map do |src|
|
||||||
targets_processed.include?(src) or not @targets.include?(src) or process_target.call(src)
|
targets_processed.include?(src) or not @targets.include?(src) or process_target.call(src)
|
||||||
end.all?
|
end.all?
|
||||||
if sources_built
|
|
||||||
@targets[target][:builder].run(target,
|
@targets[target][:builder].run(target,
|
||||||
@targets[target][:source],
|
@targets[target][:source],
|
||||||
cache,
|
cache,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user