-
Notifications
You must be signed in to change notification settings - Fork 10
/
README-sbt
20 lines (13 loc) · 1010 Bytes
/
README-sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---++ Common SBT Commands
clean Deletes all generated files (in the target directory).
compile Compiles the main sources (in src/main/scala and src/main/java directories).
test Compiles and runs all tests.
console Starts the Scala interpreter with a classpath including the compiled sources and
all dependencies. To return to sbt, type :quit, Ctrl+D (Unix), or Ctrl+Z (Windows).
run <argument>* Runs the main class for the project in the same virtual machine as sbt.
package Creates a jar file containing the files in src/main/resources and the classes compiled
from src/main/scala and src/main/java.
help <command> Displays detailed help for the specified command. If no command is provided, displays
brief descriptions of all commands.
reload Reloads the build definition (build.sbt, project/*.scala, project/*.sbt files).
Needed if you change the build definition.