mirror of https://github.com/sbt/sbt.git
Merge pull request #224 from alexarchambault/topic/updates
Various updates (README mostly)
This commit is contained in:
commit
903a4b119e
29
README.md
29
README.md
|
|
@ -8,6 +8,9 @@ A Scala library to fetch dependencies from Maven / Ivy repositories
|
|||
[](https://ci.appveyor.com/project/alexarchambault/coursier)
|
||||
[](https://gitter.im/alexarchambault/coursier?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://maven-badges.herokuapp.com/maven-central/com.github.alexarchambault/coursier_2.11)
|
||||
[](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11)
|
||||
|
||||

|
||||
|
||||
*coursier* is a dependency resolver / fetcher *à la* Maven / Ivy, entirely
|
||||
rewritten from scratch in Scala. It aims at being fast and easy to embed
|
||||
|
|
@ -43,11 +46,14 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
|||
## Table of content
|
||||
|
||||
1. [Quick start](#quick-start)
|
||||
2. [Why](#why)
|
||||
3. [Usage](#usage)
|
||||
1. [SBT plugin](#sbt-plugin)
|
||||
2. [Command-line](#command-line)
|
||||
3. [API](#api)
|
||||
2. [Why](#why)
|
||||
3. [Usage](#usage)
|
||||
1. [SBT plugin](#sbt-plugin-1)
|
||||
2. [Command-line](#command-line-1)
|
||||
3. [API](#api-1)
|
||||
4. [Scala JS demo](#scala-js-demo)
|
||||
4. [Limitations](#limitations)
|
||||
5. [FAQ](#faq)
|
||||
|
|
@ -58,7 +64,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
|||
|
||||
## Quick start
|
||||
|
||||
* SBT plugin
|
||||
### SBT plugin
|
||||
|
||||
Enable the SBT plugin by adding
|
||||
```scala
|
||||
|
|
@ -68,13 +74,18 @@ to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plu
|
|||
of a SBT project. Tested with SBT 0.13.8 / 0.13.9.
|
||||
|
||||
|
||||
* CLI
|
||||
### Command-line
|
||||
|
||||
Download and run its laucher with
|
||||
```
|
||||
$ curl -L -o coursier https://git.io/vgvpD && chmod +x coursier && ./coursier --help
|
||||
```
|
||||
|
||||
Alternatively on OS X, install it via [@paulp](https://github.com/paulp/)'s homebrew formula,
|
||||
```
|
||||
$ brew install --HEAD paulp/extras/coursier
|
||||
```
|
||||
|
||||
Run an application distributed via artifacts with
|
||||
```
|
||||
$ ./coursier launch com.lihaoyi:ammonite-repl_2.11.7:0.5.2
|
||||
|
|
@ -94,7 +105,7 @@ Fetching artifacts
|
|||
...
|
||||
```
|
||||
|
||||
* API
|
||||
### API
|
||||
|
||||
Add to your `build.sbt`
|
||||
```scala
|
||||
|
|
@ -227,6 +238,11 @@ $ curl -L -o coursier https://git.io/vgvpD && chmod +x coursier && ./coursier --
|
|||
The launcher itself weights only 8 kB and can be easily embedded as is in other projects.
|
||||
It downloads the artifacts required to launch coursier on the first run.
|
||||
|
||||
Alternatively on OS X, install it via [@paulp](https://github.com/paulp/)'s homebrew formula, that puts the `coursier` launcher directly in your PATH,
|
||||
```
|
||||
$ brew install --HEAD paulp/extras/coursier
|
||||
```
|
||||
|
||||
```
|
||||
$ ./coursier --help
|
||||
```
|
||||
|
|
@ -671,6 +687,9 @@ Once RCs will be considered stable enough, `1.0.0` should be released.
|
|||
|
||||
## Contributors
|
||||
|
||||
- Erik LaBianca ([@easel](https://github.com/easel))
|
||||
- Han Ju ([@darkjh](https://github.com/darkjh))
|
||||
- Simon Ochsenreither ([@soc](https://github.com/soc))
|
||||
- Your name here :-)
|
||||
|
||||
Don't hesitate to pick an issue to contribute, and / or ask for help for how to proceed
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@ lazy val cli = project
|
|||
if (scalaVersion.value startsWith "2.10.")
|
||||
Seq()
|
||||
else
|
||||
Seq("com.github.alexarchambault" %% "case-app" % "1.0.0-M4")
|
||||
Seq("com.github.alexarchambault" %% "case-app" % "1.0.0-RC1")
|
||||
},
|
||||
resourceGenerators in Compile += packageBin.in(bootstrap).in(Compile).map { jar =>
|
||||
Seq(jar)
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@ A Scala library to fetch dependencies from Maven / Ivy repositories
|
|||
[](https://ci.appveyor.com/project/alexarchambault/coursier)
|
||||
[](https://gitter.im/alexarchambault/coursier?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
[](https://maven-badges.herokuapp.com/maven-central/com.github.alexarchambault/coursier_2.11)
|
||||
[](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11)
|
||||
|
||||

|
||||
|
||||
*coursier* is a dependency resolver / fetcher *à la* Maven / Ivy, entirely
|
||||
rewritten from scratch in Scala. It aims at being fast and easy to embed
|
||||
|
|
@ -43,11 +46,14 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
|||
## Table of content
|
||||
|
||||
1. [Quick start](#quick-start)
|
||||
2. [Why](#why)
|
||||
3. [Usage](#usage)
|
||||
1. [SBT plugin](#sbt-plugin)
|
||||
2. [Command-line](#command-line)
|
||||
3. [API](#api)
|
||||
2. [Why](#why)
|
||||
3. [Usage](#usage)
|
||||
1. [SBT plugin](#sbt-plugin-1)
|
||||
2. [Command-line](#command-line-1)
|
||||
3. [API](#api-1)
|
||||
4. [Scala JS demo](#scala-js-demo)
|
||||
4. [Limitations](#limitations)
|
||||
5. [FAQ](#faq)
|
||||
|
|
@ -58,7 +64,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [
|
|||
|
||||
## Quick start
|
||||
|
||||
* SBT plugin
|
||||
### SBT plugin
|
||||
|
||||
Enable the SBT plugin by adding
|
||||
```scala
|
||||
|
|
@ -68,13 +74,18 @@ to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plu
|
|||
of a SBT project. Tested with SBT 0.13.8 / 0.13.9.
|
||||
|
||||
|
||||
* CLI
|
||||
### Command-line
|
||||
|
||||
Download and run its laucher with
|
||||
```
|
||||
$ curl -L -o coursier https://git.io/vgvpD && chmod +x coursier && ./coursier --help
|
||||
```
|
||||
|
||||
Alternatively on OS X, install it via [@paulp](https://github.com/paulp/)'s homebrew formula,
|
||||
```
|
||||
$ brew install --HEAD paulp/extras/coursier
|
||||
```
|
||||
|
||||
Run an application distributed via artifacts with
|
||||
```
|
||||
$ ./coursier launch com.lihaoyi:ammonite-repl_2.11.7:0.5.2
|
||||
|
|
@ -94,7 +105,7 @@ Fetching artifacts
|
|||
...
|
||||
```
|
||||
|
||||
* API
|
||||
### API
|
||||
|
||||
Add to your `build.sbt`
|
||||
```scala
|
||||
|
|
@ -250,6 +261,11 @@ $ curl -L -o coursier https://git.io/vgvpD && chmod +x coursier && ./coursier --
|
|||
The launcher itself weights only 8 kB and can be easily embedded as is in other projects.
|
||||
It downloads the artifacts required to launch coursier on the first run.
|
||||
|
||||
Alternatively on OS X, install it via [@paulp](https://github.com/paulp/)'s homebrew formula, that puts the `coursier` launcher directly in your PATH,
|
||||
```
|
||||
$ brew install --HEAD paulp/extras/coursier
|
||||
```
|
||||
|
||||
```
|
||||
$ ./coursier --help
|
||||
```
|
||||
|
|
@ -695,6 +711,9 @@ Once RCs will be considered stable enough, `1.0.0` should be released.
|
|||
|
||||
## Contributors
|
||||
|
||||
- Erik LaBianca ([@easel](https://github.com/easel))
|
||||
- Han Ju ([@darkjh](https://github.com/darkjh))
|
||||
- Simon Ochsenreither ([@soc](https://github.com/soc))
|
||||
- Your name here :-)
|
||||
|
||||
Don't hesitate to pick an issue to contribute, and / or ask for help for how to proceed
|
||||
|
|
|
|||
Loading…
Reference in New Issue