summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2018-11-03 19:41:15 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2018-11-05 21:13:45 +0100
commit01a83e0f1fb67e85f77b87a159e47a1d3625b66b (patch)
tree8dc249860619d8e6e3b0c730dc5a778b13db8abd
parent55f50ddaf31fe1cb4cda4d15e387280e8f7a8242 (diff)
downloadocaml-sid-01a83e0f1fb67e85f77b87a159e47a1d3625b66b.tar.gz
fix tests and bump versionv1
Also set minimum compiler version to 4.02 for package since that’s when the bytes type was introduced.
-rw-r--r--_oasis4
-rw-r--r--sid.opam9
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 <phg@phi-gamma.net>"
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}
]