How run sbt assembly command without tests from command line?

后端 未结 1 1903
遇见更好的自我
遇见更好的自我 2020-12-22 21:23

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

相关标签:
1条回答
  • 2020-12-22 22:08

    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
    
    0 讨论(0)
提交回复
热议问题