如何使 sbt 装配任务依赖于测试
How to make the sbt assembly task depend on test
当我 运行 sbt assembly
测试不是 运行。如何在 运行 组装任务之前对 运行 进行测试?
来自 https://github.com/sbt/sbt-assembly#assembly-task 的文档:
To run the test during assembly,
lazy val app = (project in file("app"))
.settings(
assembly / test := (Test / test).value,
// more settings here ...
)
当我 运行 sbt assembly
测试不是 运行。如何在 运行 组装任务之前对 运行 进行测试?
来自 https://github.com/sbt/sbt-assembly#assembly-task 的文档:
To run the test during assembly,
lazy val app = (project in file("app")) .settings( assembly / test := (Test / test).value, // more settings here ... )