Used dependency to ensure that REPORT_DIR exists before cleaning.

This allows the build to pass in Jenkins
This commit is contained in:
Will Daly
2013-06-27 10:51:23 -04:00
committed by Jean Manuel Nater
parent 7e6722c50f
commit af05d05cbe

View File

@@ -53,7 +53,7 @@ task :clean_test_files do
sh("git clean -fqdx test_root")
end
task :clean_reports_dir do
task :clean_reports_dir => REPORT_DIR do
desc "Clean coverage files, to ensure that we don't use stale data to generate reports."
# We delete the files but preserve the directory structure