You can set up sbt to automatically compile your program as soon as any source file changes. To do so, type:
Continuous compilation is a great time-saver.
To package your program for distribution as a jar, type:
A jar containing all your compiled classes and resources frommyproject/src/main/resources will be found in myproject/target/scala-YOUR_SCALA_VERSION_HERE. Note that dependencies are NOT included in the jar. To include all dependencies into the output jar, you will need to use the assembly plugin. See the next step for pointers to info about plugins.