Skip to content

Commit f274eba

Browse files
committed
Merge pull request #14 from hrj/patch-1
Update README.md
2 parents 96892ac + a078a65 commit f274eba

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,16 @@ scala-parser-combinators [<img src="https://api.travis-ci.org/scala/scala-parser
22
========================
33

44
Scala Standard Parser Combinator Library
5+
6+
As of Scala 2.11, this library is a separate jar that can be omitted from Scala projects that do not use Parser Combinators.
7+
8+
## Adding an SBT dependency
9+
To depend on scala-parser-combinators in SBT, add something like this to your build.sbt:
10+
11+
```
12+
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.1"
13+
```
14+
15+
(Assuming you're using a `scalaVersion` for which a scala-parser-combinators is published. The first 2.11 milestone for which this is true is 2.11.0-M4.)
16+
17+
To support multiple Scala versions, see the example in https://github.com/scala/scala-module-dependency-sample.

0 commit comments

Comments
 (0)