I found the answer I was looking for at this webpage: Scala 2.9.1, sbt 0.10 and ScalaTest step-by-step.
The high-level steps are:
mkdir my_projectmake a folder for your project-
Create a simple
my_project/build.sbtfile, e.g.:name := "A Project" version := "0.1" scalaVersion := "2.9.1" libraryDependencies ++= Seq( "org.scalatest" %% "scalatest" % "1.6.1" % "test" ) -
Create a file
my_project/src/main/scala/HelloWorld.scala, where you create all the directories you need as you go (e.g. create the directory structuresrc/main/scala/)object Main extends App {
Console.println("Hello World!")
} -
Execute your sbt commands: e.g.
sbt run