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 حذوفات

عرض الملف

@@ -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