Nice programing

How run sbt assembly command without tests from command line?

nicepro 2020. 10. 21. 21:37
반응형

How run sbt assembly command without tests from command line?


I have read questions: this and that. They suggest to modify sbt file. But I want run sbt clean assembly without tests and do not modify sbt build files. Is it possible with sbt? In maven there is -DskipTest=true parameter, is there analog for sbt?


For any properties you need to change on the command line, prepend them with "set ", and wrap them in quotes.

Example for Windows:

sbt "set test in assembly := {}" clean assembly

Example for Mac:

sbt 'set test in assembly := {}' clean assembly

참고URL : https://stackoverflow.com/questions/26499444/how-run-sbt-assembly-command-without-tests-from-command-line

반응형