From a583a626f87a85404e6c5261c2115eff98ae2138 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sun, 14 Aug 2011 10:53:37 -0400 Subject: [PATCH] clean up instructions for building from sources. fixes #146 --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a71c4b5a0..323522cb5 100644 --- a/README.md +++ b/README.md @@ -14,26 +14,25 @@ There is a [video of a demo] given at the [Northeast Scala Symposium] that gives # Build from source -To build from source, get the latest stable version of sbt 0.10.x (see [Setup]) and get the code. +1. Install the current stable binary release of sbt 0.10.x (see [Setup]), which will be used to build sbt from source. +2. Get the source code. $ git clone git://github.com/harrah/xsbt.git $ cd xsbt -The initial branch is the development branch 0.10, which contains the latest code for the 0.10.x series. - -The latest tag for 0.10.x is 0.10.1: +3. The initial branch is the development branch 0.10, which contains the latest code for the 0.10.x series. To build a specific release or commit, switch to the associated tag. The tag for the latest 0.10.x release is v0.10.1: $ git checkout v0.10.1 -To build the launcher, publish all components locally, and build API and SXR documentation: +4. To build the launcher, publish all components locally, and build API and SXR documentation: $ sbt build-all -The individual commands are +Alternatively, the individual commands run by `build-all` may be executed directly: - $ sbt publish-local proguard sxr doc + $ sbt publish-local proguard sxr doc -Copy your stable ~/bin/sbt script to ~/bin/xsbt and change it to use the launcher at: +5. To use this locally built version of sbt, copy your stable ~/bin/sbt script to ~/bin/xsbt and change it to use the launcher jar in `/target/`. For the v0.10.1 tag, the full location is: /target/sbt-launch-0.10.1.jar