mirror of https://github.com/sbt/sbt.git
Update to current 0.13.7-SNAPSHOT
$HOME/.ivy2/local/org.scala-sbt/sbt-launch/ instead of temporary target folder
This commit is contained in:
parent
2c87a643a4
commit
a22ffcd8f3
|
|
@ -114,9 +114,9 @@ Build from source
|
||||||
$ git clone git://github.com/sbt/sbt.git
|
$ git clone git://github.com/sbt/sbt.git
|
||||||
$ cd sbt
|
$ cd sbt
|
||||||
|
|
||||||
3. The initial branch is the development branch [0.13](https://github.com/sbt/sbt/tree/0.13), which contains the latest code for the next major sbt release. To build a specific release or commit, switch to the associated tag. The tag for the latest stable release is [v0.13.5](https://github.com/sbt/sbt/tree/v0.13.5):
|
3. The initial branch is the development branch [0.13](https://github.com/sbt/sbt/tree/0.13), which contains the latest code for the next major sbt release. To build a specific release or commit, switch to the associated tag. The tag for the latest stable release is [v0.13.6](https://github.com/sbt/sbt/tree/v0.13.6):
|
||||||
|
|
||||||
$ git checkout v0.13.5
|
$ git checkout v0.13.6
|
||||||
|
|
||||||
Note that sbt is always built with the previous stable release. For example, the [0.13](https://github.com/sbt/sbt/tree/0.13) branch is built with 0.13.2 and the [v0.13.2](https://github.com/sbt/sbt/tree/v0.13.2) tag is built with 0.13.1.
|
Note that sbt is always built with the previous stable release. For example, the [0.13](https://github.com/sbt/sbt/tree/0.13) branch is built with 0.13.2 and the [v0.13.2](https://github.com/sbt/sbt/tree/v0.13.2) tag is built with 0.13.1.
|
||||||
|
|
||||||
|
|
@ -125,13 +125,25 @@ Build from source
|
||||||
$ sbt
|
$ sbt
|
||||||
> publishLocal
|
> publishLocal
|
||||||
|
|
||||||
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 `<sbt>/target/`. For the v0.13.5 tag, the full location is:
|
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 `<sbt>/target/`. For the v0.13.6 tag, the full location is:
|
||||||
|
|
||||||
<sbt>/target/sbt-launch-0.13.5.jar
|
<sbt>/target/sbt-launch-0.13.6.jar
|
||||||
|
|
||||||
If using the 0.13 development branch, the launcher is at:
|
If using the 0.13 development branch, the launcher is at:
|
||||||
|
|
||||||
<sbt>/target/sbt-launch-0.13.6-SNAPSHOT.jar
|
<sbt>/target/sbt-launch-0.13.7-SNAPSHOT.jar
|
||||||
|
|
||||||
|
Directory `target` is removed by clean command. Second solution is using artifact stored in local ivy repository.
|
||||||
|
|
||||||
|
The launcher is located in:
|
||||||
|
|
||||||
|
$HOME/.ivy2/local/org.scala-sbt/sbt-launch/0.13.6/jars/sbt-launch.jar
|
||||||
|
|
||||||
|
for v0.13.6 tag, or in:
|
||||||
|
|
||||||
|
$HOME/.ivy2/local/org.scala-sbt/sbt-launch/0.13.7-SNAPSHOT/jars/sbt-launch.jar
|
||||||
|
|
||||||
|
for development branch.
|
||||||
|
|
||||||
## Modifying sbt
|
## Modifying sbt
|
||||||
|
|
||||||
|
|
@ -141,7 +153,7 @@ Build from source
|
||||||
|
|
||||||
3. After each `publishLocal`, clean the `~/.sbt/boot/` directory. Alternatively, if sbt is running and the launcher hasn't changed, run `reboot full` to have sbt do this for you.
|
3. After each `publishLocal`, clean the `~/.sbt/boot/` directory. Alternatively, if sbt is running and the launcher hasn't changed, run `reboot full` to have sbt do this for you.
|
||||||
|
|
||||||
4. If a project has `project/build.properties` defined, either delete the file or change `sbt.version` to `0.13.6-SNAPSHOT`.
|
4. If a project has `project/build.properties` defined, either delete the file or change `sbt.version` to `0.13.7-SNAPSHOT`.
|
||||||
|
|
||||||
Building Documentation
|
Building Documentation
|
||||||
----------------------
|
----------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue