Store task parameter values in a Hash
This commit is contained in:
1 parent
44f61da571
commit
7e5c6e6b12
2 files changed
+18
-9
No files matched your search
@@ -216,7 +216,7 @@ module Rscons
|
||||
tasks_and_params.each do |task_name, task_params|
|
||||
task_params.each do |param_name, param_value|
|
||||
if param = Task[task_name].params[param_name]
|
||||
param.value = param_value
|
||||
Task[task_name].set_param_value(param_name, param_value)
|
||||
else
|
||||
raise RsconsError.new("Unknown parameter #{param_name.inspect} for task #{task_name}")
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user