add Environment#clear_targets()

This commit is contained in:
josh committed 2013-12-27 13:35:16 -05:00
1 parent 539a49fe90
commit e667046da8
2 files changed
+17

No files matched your search

+5
View File
@@ -162,6 +162,11 @@ module Rscons
cache.write
end
# Clear all targets registered for the Environment.
def clear_targets
@targets = {}
end
# Build a command line from the given template, resolving references to
# variables using the Environment's construction variables and any extra
# variables specified.