load configuration data when constructing a new Environment - close #60
This commit is contained in:
1 parent
6dd9c835ce
commit
bfdf3a12fd
5 files changed
+84
-108
No files matched your search
@@ -124,6 +124,7 @@ module Rscons
|
||||
def write
|
||||
if @dirty || (@cache["version"] != VERSION)
|
||||
@cache["version"] = VERSION
|
||||
validate_json_object(@cache)
|
||||
File.open(CACHE_FILE, "w") do |fh|
|
||||
fh.puts(JSON.dump(@cache))
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user