Forrest logo
back to context overview

sbt

List of commands for sbt:

  • sbt:tldr:015e5 sbt: Compile and run all tests.
    $ sbt test
    try on your machine
    explain this command
  • sbt:tldr:1b79a sbt: List all sbt options.
    $ sbt -h
    try on your machine
    explain this command
  • sbt:tldr:46cc7 sbt: Compile the main sources in `src/main/scala` and `src/main/java` directories.
    $ sbt compile
    try on your machine
    explain this command
  • sbt:tldr:61cfd sbt: Create a new Scala project from an existing Giter8 template hosted on GitHub.
    $ sbt new ${scala-hello-world-g8}
    try on your machine
    explain this command
  • sbt:tldr:7aa7e sbt: Use the specified version of sbt.
    $ sbt -sbt-version ${version}
    try on your machine
    explain this command
  • sbt:tldr:7c5ae sbt: Delete all generated files in the `target` directory.
    $ sbt clean
    try on your machine
    explain this command
  • sbt:tldr:8088f sbt: Use a specific jar file as the sbt launcher.
    $ sbt -sbt-jar ${path}
    try on your machine
    explain this command
  • sbt:tldr:eadc1 sbt: Start a REPL (interactive shell).
    $ sbt
    try on your machine
    explain this command
back to context overview