Skip to content

Latest commit

 

History

History
20 lines (10 loc) · 1.93 KB

Readme.md

File metadata and controls

20 lines (10 loc) · 1.93 KB

sbt installation and testing

sbt is the simple/scala build tool. It is the standard build tool for Scala. Other than a recent Java installation, sbt is all you need for building Scala projects.

Some useful links relating to sbt are given below:

Please follow the relevant instructions for installing sbt on your OS. In most cases you can choose between a standard OS install or a manual install. Note that manual installation can be as simple as putting a launcher script and a bytecode "jar" file somewhere in your path. Further, the 0.13.13 ZIP file is included in this directory for manual installation if required. Unpacking the ZIP somewhere sensible and then adding the resulting bin directory to your path should be all that is required for installation.

If at all possible, please install sbt on your system in advance of the start of the course, and test that it works by typing sbt run from the sbt-test directory of this code repository. You will need an Internet connection the first time that you run this, and it will take some time to run while it downloads Scala, the Scala compiler, the Scala standard library and all of the libraries that we will be using in the course. If the test runs correctly, it should finish by printing the message "SBT IS INSTALLED AND WORKING" to the console. Once these libraries are downloaded and cached on your system, subsequent builds should be much faster, and should not require an Internet connection. For information, libraries are cached by default in the directory ~/.ivy2/.

Once you have sbt installed and working, see the Readme in the sbt-test directory for further information.