Skip to content

Commit 8ab8843

Browse files
committed
Compile javascript
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
1 parent bb1d1c9 commit 8ab8843

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tasks/blacklight.rake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ end
4444
# rubocop:disable Rails/RakeEnvironment
4545
desc "Run test suite"
4646
task :ci do
47+
within_test_app do
48+
# Precompiles the javascript
49+
system "bin/rake test:prepare"
50+
end
4751
with_solr do
4852
Rake::Task['blacklight:internal:seed'].invoke
4953
Rake::Task['blacklight:coverage'].invoke

0 commit comments

Comments
 (0)