sbt(running)
Simple Build Tool
Creation
set new sbt/scala-seed.g8
Running
sbt
run
exit
quit set
Directory
src/
main/
resources/
<files to include in main jar here>
scala/
<main Scala sources>
java/
<main Java sources>
test/
resources
<files to include in test jar here>
scala/
<test Scala sources>
java/
<test Java sources>
Build.sbt or *.sbt defines build in base dir
Shell vs CL
command-line mode and interactive mode
command-line mode, you run
sbt
task from your machine terminal. Once the task successfully finishes thensbt
exits. i.esbt about
the interactive mode, you run -
sbt
command and it launches asbt
shell
HI
Last updated