Drop support for 5-argument form of Builder#run - #84

This commit is contained in:
josh committed 2019-02-10 21:47:34 -05:00
1 parent b41a368da1
commit 7992450383
12 files changed
+36 -93

No files matched your search

+1 -5
View File
@@ -541,11 +541,7 @@ module Rscons
call_build_hooks[:pre]
# Call the builder's #run method.
if builder.method(:run).arity == 5
rv = builder.run(*build_operation.values_at(:target, :sources, :cache, :env, :vars))
else
rv = builder.run(build_operation)
end
rv = builder.run(build_operation)
(@side_effects[build_operation[:target]] || []).each do |side_effect_file|
# Register side-effect files as build targets so that a Cache clean