How to execute sbt build command without tests from command line?

I read the questions: this and which . They suggest changing the sbt file. But I want to run sbt clean assembly without tests and not modify the sbt assembly files. Is this possible with sbt? In maven there is a parameter -DskipTest=true , is there an analogue for sbt?

+46
build testing sbt
Oct 22 '14 at 2:34
source share
1 answer

For any properties that need to be changed on the command line, add them to the "set" and wrap them in quotation marks.

Example for Windows:

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

Mac example:

 sbt 'set test in assembly := {}' clean assembly 
+76
Jul 31 '15 at 2:46
source share



All Articles