lightbend-labs / dbuild

Multi-project build tool, based on sbt.
https://lightbend-labs.github.io/dbuild
Other
83 stars 14 forks source link

Support test:compile only without test:test #189

Closed dwijnand closed 7 years ago

dwijnand commented 7 years ago

The community build from time to time has to disable project tests for one reason or another.

It would be nice if there were an option to disable only running the tests, but still compiling them.

SethTisue commented 7 years ago

I haven't tried it, but I think this might already be supported via test-tasks, actually? (https://typesafehub.github.io/dbuild/0.9.5/dbuild.html#sbt-specific-options)

or if that fails, we might well be able to find some hacky thing to put in extra.commands to get the same effect

dwijnand commented 7 years ago

Yeah looks to me like setting test-tasks to test:compile might do this.

SethTisue commented 7 years ago

compile (not test:compile) works. so I think we can close this ticket. (@cunei maybe a doc update before closing?)

dwijnand commented 7 years ago

github issue search is the new docs

SethTisue commented 7 years ago

lots of examples of this, now, in community.dbuild