Merge pull request #4019 from itohiro73/improve-contributing

Improve instruction for locally built sbt in CONTRIBUTING.md
This commit is contained in:
eugene yokota 2018-03-16 15:24:22 +09:00 committed by GitHub
commit 571417dc6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -188,10 +188,12 @@ sbt:sbtRoot> publishLocal
### Using the locally built sbt
To use the locally built sbt, set the version in `build.properties` file to `1.$MINOR.$PATCH-SNAPSHOT`.
The `publishLocal` above will build and publish version `1.$MINOR.$PATCH-SNAPSHOT` (e.g. 1.1.2-SNAPSHOT) to your local ivy repository.
To use the locally built sbt, set the version in `build.properties` file in your project to `1.$MINOR.$PATCH-SNAPSHOT` then launch `sbt` (this can be the `sbt` launcher installed in your machine).
```
$ cd ../hello
$ cd $YOUR_OWN_PROJECT
$ sbt
> compile
```