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]
|
# @return [String, ThreadedCommand]
|
||||||
# Target file name if target is up to date or a {ThreadedCommand}
|
# Target file name if target is up to date or a {ThreadedCommand}
|
||||||
# to execute to build the target.
|
# 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({
|
vars = vars.merge({
|
||||||
"_TARGET" => target,
|
"_TARGET" => target,
|
||||||
"_SOURCES" => sources,
|
"_SOURCES" => sources,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user