mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-25 05:45:15 +00:00
Delete generated JS for tests on update
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user