Delete generated JS for tests on update

This commit is contained in:
Maikel Linke
2026-01-22 12:39:10 +11:00
parent 6cbc6fbca3
commit 35724bec81

View File

@@ -32,6 +32,7 @@ FileUtils.chdir APP_ROOT do
puts "\n== Preparing database, removing old logs and tempfiles =="
system! "bin/rails db:prepare log:clear tmp:clear"
system! "rm -f tmp/capybara/screenshots/*.png"
system! "rm -f tmp/javascripts/*.js"
puts "\n== Removing any precompiled assets that would be out of date now =="
system! "rm -rf public/assets/"