properly remove old test files

This commit is contained in:
Kyle Drake 2019-09-19 18:45:00 -07:00
parent 24c2d7d3d3
commit 58a09f0bd9

View file

@ -69,7 +69,7 @@ end
# Clean up junk from tests
[Site::SITE_FILES_ROOT, Site::SCREENSHOTS_ROOT, Site::THUMBNAILS_ROOT].each do |p|
FileUtils.rm_rf p
FileUtils.mkdir_p p
FileUtils.rm_rf File.join(p, '*')
File.write File.join(p, '.gitignore'), '*'
end