From 01a83e0f1fb67e85f77b87a159e47a1d3625b66b Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sat, 3 Nov 2018 19:41:15 +0100 Subject: fix tests and bump version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also set minimum compiler version to 4.02 for package since that’s when the bytes type was introduced. --- _oasis | 4 ++-- sid.opam | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/_oasis b/_oasis index cbf7164..b07c0af 100644 --- a/_oasis +++ b/_oasis @@ -1,7 +1,7 @@ OASISFormat: 0.4 Name: sid -Version: 0 Synopsis: Handle security identifiers (SID). +Version: 1 Authors: phg License: LGPL-3 with OCaml linking exception BuildTools: ocamlbuild @@ -34,7 +34,7 @@ Executable "sidparse" Test "test_sidparse" Run$: flag(tests) - TestTools: util/sidparse_test.sh + TestTools: sidparse Command: util/sidparse_test.sh Document "sid_intf" diff --git a/sid.opam b/sid.opam index 6b250f2..feab9b7 100644 --- a/sid.opam +++ b/sid.opam @@ -1,21 +1,24 @@ opam-version: "2.0" -version: "0" +version: "1" synopsis: "Handle security identfiers" maintainer: "Philipp Gesang " bug-reports: "https://gitlab.com/phgsng/ocaml-sid" +dev-repo: "git+https://gitlab.com/phgsng/ocaml-sid.git" homepage: "https://gitlab.com/phgsng/ocaml-sid" authors: [ "Philipp Gesang" ] license: "LGPL-3.0-only with OCaml linking exception" + depends: [ + "ocaml" { >= "4.02.0" } "ocamlbuild" {build} "oasis" {build} "stdint" - "ounit" {test} + "ounit" {with-test} ] build: [ ["oasis" "setup"] - ["ocaml" "setup.ml" "-configure" "--prefix" prefix] + ["ocaml" "setup.ml" "-configure" "--prefix" prefix "--enable-tests"] ["ocaml" "setup.ml" "-build"] ["ocaml" "setup.ml" "-doc"] {with-doc} ] -- cgit v1.2.3