sbt/README.md

44 lines
1.5 KiB
Markdown
Raw Normal View History

[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
2011-05-12 18:39:55 +02:00
[Setup]: https://github.com/harrah/xsbt/wiki/Setup
[video of a demo]: http://vimeo.com/20263617
2011-03-24 01:31:47 +01:00
# 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
2011-02-17 22:27:43 +01:00
2011-03-24 01:31:47 +01:00
To build from source, get the latest stable version of sbt (above) and get the code.
2011-02-17 22:27:43 +01:00
2011-03-24 01:31:47 +01:00
$ git clone -n git://github.com/harrah/xsbt.git
2011-02-17 22:27:43 +01:00
$ cd xsbt
2011-03-24 01:31:47 +01:00
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.)
2011-05-29 05:49:17 +02:00
The latest tag for 0.9.x is 0.9.9:
2011-02-17 22:27:43 +01:00
2011-05-29 05:49:17 +02:00
$ git checkout v0.9.9
2011-02-17 22:27:43 +01:00
Or, get the development branch for 0.9.x:
$ git checkout 0.9
To build:
$ sbt update proguard publish-local
2011-02-17 22:27:43 +01:00
Copy your stable ~/bin/sbt script to ~/bin/xsbt and change it to use the launcher at:
2011-05-29 05:49:17 +02:00
<xsbt>/target/sbt-launch-0.9.9.jar
2011-03-06 22:02:41 +01:00
If using the 0.9 development branch, the launcher is at:
2011-05-29 05:49:17 +02:00
<xsbt>/target/sbt-launch-0.9.10-SNAPSHOT.jar