Read documentation here and learn baby, learn...
table content in a reverse order
[[toc]]
run specific task from subproject
cd ./akka-scala-vs-java/
# TDD
./sbtw "project javaPersistenceCounter" clean run
watch task
cd ./idea-sbt/
# TDD
./sbtw ~test:test
new sbt project quickly start
mkdir hello-world
cd hello-world
. ../wrapper/sbt-wrapper
mkdir -p src/main/scala project
echo 'object Main extends App { println("Hello") }' > src/main/scala/Main.scala
echo 'sbt.version=1.2.8' > project/build.build.properties
./sbtw run
sbt wrapper
cat ~/.bin/sbt-wrapper
#!/bin/bash
curl -Ls https://git.io/sbt > ./sbtw && chmod 0755 ./sbtw
to quickly add an sbt wrapper to your project, use ./wrapper/sbt-wrapper
script like so:
cd /path/to/my-project/
bash /path/to/wrapper/sbt-wrapper
./sbtw -v
other repositories
resources