Tutorial by Examples

The standard structure for a project built by SBT is: projectName/ build.sbt project/ <SBT sub-build information> src/ main/ scala/ <Scala source files> java/ <Java source files> resources/ ...
This sheet assumes that you are in the root directory of the project, containing the build.sbt. $ indicates a command prompt and > indicates commands run inside the SBT console. Compile a project $ sbt compile Test a project $ sbt test Enter SBT REPL: $ sbt Enter Scala Console with B...

Page 1 of 1