add Environment#dump

This commit is contained in:
josh committed 2014-10-22 10:30:57 -04:00
1 parent d5e0475e6c
commit d9e3129ad5
2 files changed
+18

No files matched your search

+7
View File
@@ -660,6 +660,13 @@ module Rscons
end
end
# Print the Environment's construction variables for debugging.
def dump
@varset.to_h.sort.each do |var, val|
puts "#{var} => #{val.inspect}"
end
end
private
# Expand target and source paths before invoking builders.