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

only exclude asset gems if there are prebuilt assets

هذا الالتزام موجود في:
Adam Cooke
2017-06-02 12:47:20 +01:00
الأصل 7178977ef5
التزام 97f95fe831

عرض الملف

@@ -102,7 +102,12 @@ case "$1" in
bundle)
if [ -n "$2" ]; then
run "bundle install --path=$2 --jobs=2 --clean --without=development assets"
if [ -f "public/assets/.prebuilt" ]; then
# If there are prebuilt assets, don't install the asset gems
run "bundle install --path=$2 --jobs=2 --clean --without=development assets"
else
run "bundle install --path=$2 --jobs=2 --clean --without=development"
fi
else
echo "usage: $0 bundle path/to/vendor/dir"
exit 1