chore: update opam file to opam2

This commit is contained in:
Simon Cruanes 2018-10-13 19:07:04 -05:00
parent 1d3ba3a6f1
commit a3222c0908

View file

@ -1,24 +1,25 @@
opam-version: "1.2"
opam-version: "2.0"
name: "containers"
version: "2.3"
author: "Simon Cruanes"
maintainer: "simon.cruanes.2007@m4x.org"
build: [
["dune" "build" "-p" name "-j" jobs]
[ "dune" "build" "@doc" "-p" name ] {with-doc}
[ "dune" "runtest" "-p" name "-j" jobs] {with-test}
]
build-doc: [ "dune" "build" "@doc" ]
build-test: [ "dune" "runtest" "-p" name "-j" jobs]
depends: [
"dune" {build}
"result"
"uchar"
"qtest" { test }
"qcheck" { test }
"ounit" { test }
"sequence" { test }
"gen" { test }
"uutf" { test }
"odoc" { doc }
"qtest" { with-test }
"qcheck" { with-test }
"ounit" { with-test }
"sequence" { with-test }
"gen" { with-test }
"uutf" { with-test }
"odoc" { with-doc }
"ocaml" { >= "4.02.0" }
]
depopts: [
"base-unix"
@ -30,6 +31,5 @@ conflicts: [
tags: [ "stdlib" "containers" "iterators" "list" "heap" "queue" ]
homepage: "https://github.com/c-cube/ocaml-containers/"
doc: "https://c-cube.github.io/ocaml-containers"
available: [ocaml-version >= "4.02.0"]
dev-repo: "https://github.com/c-cube/ocaml-containers.git"
dev-repo: "git+https://github.com/c-cube/ocaml-containers.git"
bug-reports: "https://github.com/c-cube/ocaml-containers/issues/"