From a3222c090811cf355e3d7587f88b75cd955952b9 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Sat, 13 Oct 2018 19:07:04 -0500 Subject: [PATCH] chore: update opam file to opam2 --- containers.opam | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/containers.opam b/containers.opam index 7b376f0c..dc9cf36f 100644 --- a/containers.opam +++ b/containers.opam @@ -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" "-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/"