مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
only compile assets on upgrade if they aren't prebuilt
هذا الالتزام موجود في:
@@ -70,6 +70,7 @@ File.open("#{WC_PATH}/lib/postal/version.rb", 'w') { |f| f.write(version_file) }
|
||||
unless ENV['NO_ASSETS']
|
||||
puts "\e[44;37mCompiling assets\e[0m"
|
||||
system!("cd #{WC_PATH} && bundle exec rake assets:precompile")
|
||||
system!("touch #{WC_PATH}/public/assets/.prebuilt")
|
||||
end
|
||||
|
||||
# Remove files that shouldn't be distributed
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم