1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-12-01 05:43:04 +00:00

export RAILS_GROUPS for precompiling assets

هذا الالتزام موجود في:
Adam Cooke
2017-06-02 12:45:39 +01:00
الأصل adb3eccec4
التزام 7178977ef5

عرض الملف

@@ -55,6 +55,7 @@ case "$1" in
upgrade) upgrade)
if [ ! -f "public/assets/.prebuilt" ]; then if [ ! -f "public/assets/.prebuilt" ]; then
echo 'Compiling Assets' echo 'Compiling Assets'
export RAILS_GROUPS=assets
run "bundle exec rake assets:precompile" run "bundle exec rake assets:precompile"
fi fi
echo 'Migrating database' echo 'Migrating database'
@@ -74,6 +75,7 @@ case "$1" in
run "bundle exec rake db:schema:load db:seed" run "bundle exec rake db:schema:load db:seed"
if [ ! -f "public/assets/.prebuilt" ]; then if [ ! -f "public/assets/.prebuilt" ]; then
echo 'Compiling Assets' echo 'Compiling Assets'
export RAILS_GROUPS=assets
run "bundle exec rake assets:precompile" run "bundle exec rake assets:precompile"
fi fi
;; ;;