Scala 的每日连续开发示例

# install sbt with homebrew (if you didn't)
brew install sbt

# - create a new scala project
# - name your project name when asked like: hello-world
sbt new sbt/scala-seed.g8

# go to the new project directory that you named
cd hello-world

# run sbt to open the sbt shell
sbt

# run your project in continuous running mode
~ run

# to continuously see the test outputs
# open up a new terminal tab, run sbt, type:
~ test

# to continuously compile
# open up a new terminal tab, run sbt, type:
~ compile

用于 sbt 中的连续操作,如上所示。