lift - SBT "package" depend on "test" -
How can I make the goal "package" depends on the target "test"?
There is a solution here: But this does not really work with the XSBT-Web-plugin.
Here's what I did:
key. Package & lt; & Lt; = (Test in test, key 'packet' in the compilation) Map {(_, in) = & gt; This test runs, and iff tests were successful, then the package works (on fresh installation of lift-5-RC2), println ("after package and test")}} Has been tested)
Comments
Post a Comment