load configuration data when constructing a new Environment - close #60

This commit is contained in:
josh committed 2018-11-23 21:23:19 -05:00
1 parent 6dd9c835ce
commit bfdf3a12fd
5 files changed
+84 -108

No files matched your search

+1
View File
@@ -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