Merge pull request #2424 from edx/will/fix-rake-test-cleanup
Fix cleanup .pyc file command in rake test
This commit is contained in:
@@ -59,7 +59,7 @@ end
|
|||||||
task :clean_test_files do
|
task :clean_test_files do
|
||||||
desc "Clean fixture files used by tests and .pyc files"
|
desc "Clean fixture files used by tests and .pyc files"
|
||||||
sh("git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads")
|
sh("git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads")
|
||||||
sh("find . -type f -name *.pyc -delete")
|
sh("find . -type f -name \"*.pyc\" -delete")
|
||||||
end
|
end
|
||||||
|
|
||||||
task :clean_reports_dir => REPORT_DIR do
|
task :clean_reports_dir => REPORT_DIR do
|
||||||
|
|||||||
Reference in New Issue
Block a user