Skip to content

Commit

Permalink
Enhance RSpec prepare command with JS build (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbischof authored Dec 14, 2022
1 parent 7752524 commit 0f05e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/tasks/jsbundling/build.rake
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ end

if Rake::Task.task_defined?("test:prepare")
Rake::Task["test:prepare"].enhance(["javascript:build"])
elsif Rake::Task.task_defined?("spec:prepare")
Rake::Task["spec:prepare"].enhance(["javascript:build"])
elsif Rake::Task.task_defined?("db:test:prepare")
Rake::Task["db:test:prepare"].enhance(["javascript:build"])
end

0 comments on commit 0f05e69

Please # to comment.