compile_assets.rb 313 B

12345678910
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. RSpec.configure do |config|
  3. config.before :suite do
  4. if !Rails.env.development? && !ENV['CI_SKIP_ASSETS_PRECOMPILE']
  5. puts 'Making sure assets are up-to-date...'
  6. Rake::Task['assets:precompile'].execute
  7. end
  8. end
  9. end