use new Builder#run signature for Command builder

This commit is contained in:
josh committed 2017-05-25 17:06:34 -04:00
1 parent 05bbea6fa1
commit b5826bd7f4
1 file changed
+2 -1
+2 -1
View File
@@ -17,7 +17,8 @@ module Rscons
# @return [String, ThreadedCommand]
# Target file name if target is up to date or a {ThreadedCommand}
# to execute to build the target.
def run(target, sources, cache, env, vars)
def run(options)
target, sources, cache, env, vars = options.values_at(:target, :sources, :cache, :env, :vars)
vars = vars.merge({
"_TARGET" => target,
"_SOURCES" => sources,