Getting the source

ScalaSTM is hosted at github.com/nbronson/scala-stm. If you system has git, the best way to get the source code is to clone this repository.

git clone https://github.com/nbronson/scala-stm.git

If git is not available you can download a tar.gz or zip source bundle. These are automatically generated from the current state of the master branch.

ScalaSTM is released under the new BSD license.

Building from source

Building and testing is done with sbt.

  1. Download the test-time dependency (scalatest)
    sbt update
    
  1. Compile everything and run the tests
    sbt test
    
  1. Build a JAR file (it will end up in a subdirectory of target)
    sbt package