mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
properly remove old test files
This commit is contained in:
parent
24c2d7d3d3
commit
58a09f0bd9
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ end
|
||||||
|
|
||||||
# Clean up junk from tests
|
# Clean up junk from tests
|
||||||
[Site::SITE_FILES_ROOT, Site::SCREENSHOTS_ROOT, Site::THUMBNAILS_ROOT].each do |p|
|
[Site::SITE_FILES_ROOT, Site::SCREENSHOTS_ROOT, Site::THUMBNAILS_ROOT].each do |p|
|
||||||
|
FileUtils.rm_rf p
|
||||||
FileUtils.mkdir_p p
|
FileUtils.mkdir_p p
|
||||||
FileUtils.rm_rf File.join(p, '*')
|
|
||||||
File.write File.join(p, '.gitignore'), '*'
|
File.write File.join(p, '.gitignore'), '*'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue