Configure parameters should not be stored as unscoped construction variables - close #160

This commit is contained in:
josh committed 2022-03-14 00:34:52 -04:00
1 parent f06d37c8b9
commit 866b40d872
1 file changed
-3
-3
View File
@@ -23,14 +23,11 @@ module Rscons
$stdout.puts "Configuring project..."
end
end
vars = {}
Task["configure"].params.each do |name, param|
unless Rscons.application.silent_configure
Ansi.write($stdout, "Setting #{name}... ", :green, param.value, :reset, "\n")
end
vars[name] = param.value
end
store_merge(vars)
end
# Close the log file handle.