Skip to content

Commit

Permalink
Compile javascript
Browse files Browse the repository at this point in the history
This is needed for the jsbunding-rails support (Propshaft build) now that 1.1.0 is out. This change rails/jsbundling-rails#128 means the build is no longer triggered on db:test:prepare
  • Loading branch information
jcoyne committed Dec 14, 2022
1 parent bb1d1c9 commit 8ab8843
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tasks/blacklight.rake
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ end
# rubocop:disable Rails/RakeEnvironment
desc "Run test suite"
task :ci do
within_test_app do
# Precompiles the javascript
system "bin/rake test:prepare"
end
with_solr do
Rake::Task['blacklight:internal:seed'].invoke
Rake::Task['blacklight:coverage'].invoke
Expand Down

0 comments on commit 8ab8843

Please sign in to comment.