How do I execute the sbt-web asset pipeline, specifically sbt-concat, before the tests are run?

210 views Asked by At

I need a JavaScript file to exist before the tests are run. It is created using sbt-concat. How do I add the sbt-web asset pipeline as a dependency to running our spec tests?

1

There are 1 answers

3
irundaia On BEST ANSWER

I think you could try something like

(test in Test) <<= (test in Test) dependsOn (packageBin in Assets)