Skip-Test in sbt

2,394 views
Skip to first unread message

erwink

unread,
May 2, 2012, 3:56:53 AM5/2/12
to scala...@googlegroups.com
Hello Masters,

I'd like to skip tests to generate a JAR.
Is there any command line argument that tells SBT to skip all tests, like Maven's -Dmaven.test.skip=true flag?

Thanks in advance,
Erwin

Jason Zaugg

unread,
May 2, 2012, 4:56:49 AM5/2/12
to erwink, scala...@googlegroups.com
On Wed, May 2, 2012 at 9:56 AM, erwink <erwin....@gmail.com> wrote:
> Hello Masters,
>
> I'd like to skip tests to generate a JAR.
> Is there any command line argument that tells SBT to skip all tests, like
> Maven's -Dmaven.test.skip=true flag?

Just run 'package', this doesn't run tests automatically.

If you also want to push those JARs to your local Ivy repository for
use as dependencies from other SBT projects, run 'publish-local'
instead.

-jason
Reply all
Reply to author
Forward
0 new messages