Skip to content

Commit

Permalink
Add local opam file for pinning
Browse files Browse the repository at this point in the history
E.g. you can now pin to a particular branch in this repo rather than
setting dev-repo. Also, this more accurately reflects the depeendencies
by specifying that ocamlfind is build only.
  • Loading branch information
rgrinberg committed Feb 22, 2016
1 parent dd2127a commit b6bf3d1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions opam
@@ -0,0 +1,23 @@
opam-version: "1.2"
maintainer: "martin@mjambon.com"
authors: ["Martin Jambon"]
homepage: "http://mjambon.com/yojson.html"
bug-reports: "https://github.com/mjambon/yojson/issues"
dev-repo: "https://github.com/mjambon/yojson.git"
available: [ ocaml-version >= "4.01.0"]
build: [
[make] {ocaml-native}
[make "all"] {!ocaml-native}
]
install: [
[make "install-lib"]
]
remove: [
[make "uninstall-lib"]
]
depends: [
"ocamlfind" {build}
"cppo"
"easy-format"
"biniou" {>= "1.0.6"}
]

0 comments on commit b6bf3d1

Please sign in to comment.