scalasbtsbt-websbt-concat

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


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?


Solution

  • I think you could try something like

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