Last tested with Java 8, Scala 2.11.7, and SBT 0.13.12.
sbt clean
- Clear target directorysbt compile
- Compile codesbt run
- Run code interactively in SBT
sbt test
- Run testssbt 'test-only liftedinference.TestMLNParser'
- Run a single test (mind the quotes)sbt 'test-only *Parser*'
- Run all tests that contain 'Parser' (mind the quotes)sbt doc
- Run scaladoc on sourcessbt 'laika:generate html pdf'
- Generate website and pdf from markdown manualsbt scoverage:test
- Run code coverage of tests
Note: sbt test
has assertions disabled; sbt scoverage:test
has assertions enabled.
sbt createAllHeaders
- Updates all source file headers (copyright)sbt assembly
- Create jar file to distribute, including all dependenciessbt proguard:proguard
- Create jar file to distribute using Proguard, including minimal depencenciessbt dist
- Create zip file to distribute
sbt eclipse
- Create Eclipse .project files