4

How can I force sbt 0.11 to fail when doing package or publish unless all the tests pass?

1 Answer 1

3

In build.sbt, add:

publish <<= publish dependsOn (test in Test)

(or the equivalent for package)

1

Not the answer you're looking for? Browse other questions tagged or ask your own question.