Create the temp directory if it doesn't exist.

This commit is contained in:
Andrew Dupont 2009-06-10 00:20:39 -05:00
parent a7eff2c0fa
commit 068f3bba56

View File

@ -69,6 +69,7 @@ namespace :doc do
)
# Might as well re-use the unit tests' temp directory.
mkdir_p PROTOTYPE_TMP_DIR
temp_path = File.join(PROTOTYPE_TMP_DIR, "prototype.temp.js")
secretary.concatenation.save_to(temp_path)
rm_rf PROTOTYPE_DOC_DIR