Skip to content

Commit 8709899

Browse files
authored
Merge pull request #133 from romac/patch-1
Advise using jitpack.io resolver to depend on Inox
2 parents 93550f1 + b2f1753 commit 8709899

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

README.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,41 @@ information, see:
1717
- A more detailed description of the available solver/evaluator [API](doc/API.md) calls.
1818
- A description of the [trees](doc/trees.md) API and how to extend them.
1919

20-
To import Inox into your project, add the following lines to your `build.sbt`:
20+
### Add Inox as a dependency
21+
22+
To add Inox as a dependency of your project, add the following lines to your `build.sbt`,
23+
where `VERSION` can be replaced by a tag (eg. `v1.1.5`), a branch name (eg. `rust-interop`)
24+
or a commit hash (eg. `6dfb351eee`).
25+
2126
```scala
22-
resolvers += "Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases"
27+
resolvers += "jitpack" at "https://jitpack.io"
2328
resolvers += "uuverifiers" at "http://logicrunch.it.uu.se:4096/~wv/maven"
24-
libraryDependencies += "ch.epfl.lara" %% "inox" % "1.0.2"
29+
30+
libraryDependencies += "com.github.epfl-lara" % "inox" % "VERSION"
2531
```
2632

27-
Alternatively, one can use Inox through command-line by using the [TIP](https://tip-org.github.io/) format
33+
Please see the [releases page](https://github.com/epfl-lara/inox/releases) for the latest Inox release.
34+
35+
**Use without the jitpack.io resolver**
36+
37+
Alternatively, one can depend on Inox without using the [jitpack.io](jitpack.io) resolver
38+
in the following way:
39+
40+
```scala
41+
resolvers += "uuverifiers" at "http://logicrunch.it.uu.se:4096/~wv/maven"
42+
43+
def ghProject(repo: String, version: String) = RootProject(uri(s"${repo}#${version}"))
44+
45+
lazy val inox = ghProject(
46+
"https://github.com/epfl-lara/inox.git",
47+
"6dfb351eeee44a3f13152bf510aceba7936d0e4d"
48+
)
49+
```
50+
51+
Command-line Interface
52+
----------------------
53+
54+
One can also use Inox through command-line by using the [TIP](https://tip-org.github.io/) format
2855
to describe the relevant query. The easiest way to use the Inox command line is to simply
2956
[build](#building-inox) the project and use the generated script.
3057

0 commit comments

Comments
 (0)