Improve compiling infrastructure, and restore a bit of duplication in spec_helper to make debugging easier in test failures

This commit is contained in:
wycats
2010-12-11 18:10:26 -08:00
parent 35b4d9fd01
commit fdc8e425d0
2 changed files with 22 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ minimal_deps.unshift "dist"
debug_deps.unshift "dist"
def build_for_task(task)
FileUtils.rm_rf("dist")
FileUtils.rm_rf("dist/*") if File.directory?("dist")
FileUtils.mkdir_p("dist")
contents = ["var Handlebars = {};"]