Store configure task parameters in configuration cache data - close #151
This commit is contained in:
1 parent
7e5c6e6b12
commit
5b6353395d
10 files changed
+102
-8
No files matched your search
@@ -31,7 +31,6 @@ module Rscons
|
||||
|
||||
# Create Application instance.
|
||||
def _initialize
|
||||
@script = Script.new
|
||||
@silent_configure = true
|
||||
@build_dir = ENV["RSCONS_BUILD_DIR"] || "build"
|
||||
ENV.delete("RSCONS_BUILD_DIR")
|
||||
@@ -55,6 +54,7 @@ module Rscons
|
||||
# Process exit code (0 on success).
|
||||
def run(rsconscript, tasks_and_params, show_tasks)
|
||||
Cache.instance["failed_commands"] = []
|
||||
@script = Script.new
|
||||
@script.load(rsconscript)
|
||||
if show_tasks
|
||||
show_script_tasks
|
||||
|
||||
Reference in new issue
Block a user