mirror of https://github.com/sbt/sbt.git
44 lines
1.5 KiB
Markdown
44 lines
1.5 KiB
Markdown
[Google Code project]: http://code.google.com/p/simple-build-tool
|
|
[Northeast Scala Symposium]: http://www.nescala.org/2011/
|
|
[documentation]: https://github.com/harrah/xsbt/wiki
|
|
[Setup]: https://github.com/harrah/xsbt/wiki/Setup.md
|
|
[video of a demo]: http://vimeo.com/20263617
|
|
|
|
# sbt 0.9
|
|
|
|
This is the 0.9.x development series of sbt. See [Setup] for getting started with the latest binary release or see below to build from source.
|
|
|
|
The current stable release of sbt is 0.7.7, which can be downloaded from the [Google Code project].
|
|
|
|
There is a [video of a demo] given at the [Northeast Scala Symposium] that gives a brief introduction to ideas in sbt 0.9. Note that the demo was based on 0.9.0 and things have changed since then. See the [documentation] for current information.
|
|
|
|
# Build from source
|
|
|
|
To build from source, get the latest stable version of sbt (above) and get the code.
|
|
|
|
$ git clone -n git://github.com/harrah/xsbt.git
|
|
$ cd xsbt
|
|
|
|
The '-n' option is strictly only necessary when using msysgit on Windows.
|
|
(This works around an issue with spaces in the 'master' branch by not checking the 'master' branch out initially.)
|
|
|
|
The latest tag for 0.9.x is 0.9.5:
|
|
|
|
$ git checkout v0.9.5
|
|
|
|
Or, get the development branch for 0.9.x:
|
|
|
|
$ git checkout 0.9
|
|
|
|
To build:
|
|
|
|
$ sbt update proguard publish-local
|
|
|
|
Copy your stable ~/bin/sbt script to ~/bin/xsbt and change it to use the launcher at:
|
|
|
|
<xsbt>/target/sbt-launch-0.9.5.jar
|
|
|
|
If using the 0.9 development branch, the launcher is at:
|
|
|
|
<xsbt>/target/sbt-launch-0.9.6-SNAPSHOT.jar
|