Environment: slight syntax cleanup

This commit is contained in:
Josh Holtrop 2013-07-11 19:10:31 -04:00
parent 9b4526b518
commit 9c69a45f77

View File

@ -56,10 +56,9 @@ module Rscons
cache = Cache.new
targets_processed = Set.new
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)
end.all?
if sources_built
@targets[target][:builder].run(target,
@targets[target][:source],
cache,