use new Builder#run signature for Command builder
This commit is contained in:
parent
05bbea6fa1
commit
b5826bd7f4
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user