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

require assets for precompilation of assets

هذا الالتزام موجود في:
Adam Cooke
2017-06-02 12:42:02 +01:00
الأصل 477fb4b199
التزام 3fb4ac3804

عرض الملف

@@ -69,7 +69,7 @@ File.open("#{WC_PATH}/lib/postal/version.rb", 'w') { |f| f.write(version_file) }
# Compile all the assets
unless ENV['NO_ASSETS']
puts "\e[44;37mCompiling assets\e[0m"
system!("cd #{WC_PATH} && bundle exec rake assets:precompile")
system!("cd #{WC_PATH} && RAILS_GROUPS=assets bundle exec rake assets:precompile")
system!("touch #{WC_PATH}/public/assets/.prebuilt")
end