I have a project built with SBT 0.13, and I publish it using the publishSigned
task. How do I force this task to depend on the integration test task, so that integration tests will automatically run before publishing?
Asked
Active
Viewed 131 times
5

David Rabinowitz
- 29,904
- 14
- 93
- 125
-
Does this answer your question? [SBT task dependsOn](https://stackoverflow.com/questions/41183255/sbt-task-dependson) – laughedelic Jun 12 '20 at 20:31
-
No, as I can't find in which scope or configuration `publishSigned` is defined – David Rabinowitz Jun 12 '20 at 20:54
-
Have you tried `publishSigned := publishSigned.dependsOn(test in IntegrationTest).value`? – laughedelic Jun 14 '20 at 15:42