1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

only compile assets on upgrade if they aren't prebuilt

هذا الالتزام موجود في:
Adam Cooke
2017-05-18 12:01:05 +01:00
الأصل 965d9a7ec6
التزام 0ef7d4c0e4
2 ملفات معدلة مع 7 إضافات و1 حذوفات

عرض الملف

@@ -53,7 +53,12 @@ case "$1" in
;;
upgrade)
run "bundle exec rake assets:precompile db:migrate"
if [ ! -f "public/assets/.prebuilt" ]; then
echo 'Compiling Assets'
run "bundle exec rake assets:precompile"
fi
echo 'Migrating database'
run "bundle exec rake db:migrate"
;;
console)