sbt/README.md

33 lines
1.4 KiB
Markdown
Raw Normal View History

2011-04-07 03:57:21 +02:00
This is the 0.9.x development series of sbt. The current stable release of sbt is 0.7.5, which can be downloaded from the [Google Code project](http://code.google.com/p/simple-build-tool).
2011-03-24 01:31:47 +01:00
2011-02-17 22:27:43 +01:00
See <http://code.google.com/p/simple-build-tool/wiki/Setup> for setup instructions for the stable version of sbt.
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-04-24 01:21:10 +02:00
The latest tag for 0.9.x is 0.9.4:
2011-02-17 22:27:43 +01:00
2011-04-24 01:21:10 +02:00
$ git checkout v0.9.4
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 "project Launcher" proguard "project Simple Build Tool" "publish-local"
Copy your stable ~/bin/sbt script to ~/bin/xsbt and change it to use the launcher at:
2011-04-24 01:21:10 +02:00
<xsbt>/target/sbt-launch-0.9.4.jar
2011-03-06 22:02:41 +01:00
If using the 0.9 development branch, the launcher is at:
2011-04-24 01:21:10 +02:00
<xsbt>/target/sbt-launch-0.9.5-SNAPSHOT.jar
2011-03-24 01:31:47 +01:00
There is a [video of a demo](http://vimeo.com/20263617) given at the [Northeast Scala Symposium](http://www.nescala.org/2011/) that gives a brief introduction to ideas in sbt 0.9. Note that the demo was based on 0.9.0 and some things have changed since then. See the [documentation](https://github.com/harrah/xsbt/wiki) for current information.