如何让目标包依赖于目标测试?
这里有一个解决方案:Force sbt 0.11 to run tests,但它不能真正与xsbt-web-plugin一起工作。
发布于 2013-03-21 21:29:50
下面是我所做的:
Keys.`package` <<= (test in Test, Keys.`package` in Compile) map { (_, in) =>
println("after package & test")
in
}它运行测试,如果测试成功,则运行包任务。(在全新安装lift-2.5-RC2时测试)
https://stackoverflow.com/questions/15547784
复制相似问题