From 78501370da05cad6b9e7f7f429170a2787b25b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20Roch=C3=A9?= Date: Tue, 5 Sep 2017 23:05:55 +0800 Subject: [PATCH] add topkg --- .gitignore | 2 +- CHANGES.md | 4 ++++ README.md | 2 +- doc/api.odocl | 0 doc/dev.odocl | 0 doc/doc.odocl | 0 junit.opam | 10 +++++++--- pkg/pkg.ml | 3 +++ 8 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 CHANGES.md create mode 100644 doc/api.odocl create mode 100644 doc/dev.odocl create mode 100644 doc/doc.odocl create mode 100644 pkg/pkg.ml diff --git a/.gitignore b/.gitignore index 7835be1..68d6362 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .merlin junit.install - +_build diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..d397d20 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,4 @@ +## 1.0 (2017-09-5) + +- move to jbuilder +- `Testsuite.make` expects `()` as last argument. diff --git a/README.md b/README.md index 224aab0..ba129b5 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ opam pin add junit https://github.com/Khady/ocaml-junit.git ## Documentation -Available [here](https://khady.github.io/ocaml-junit/dev/) +Available [here](https://khady.github.io/ocaml-junit/junit/) ## References: diff --git a/doc/api.odocl b/doc/api.odocl new file mode 100644 index 0000000..e69de29 diff --git a/doc/dev.odocl b/doc/dev.odocl new file mode 100644 index 0000000..e69de29 diff --git a/doc/doc.odocl b/doc/doc.odocl new file mode 100644 index 0000000..e69de29 diff --git a/junit.opam b/junit.opam index 81d426d..6d5133c 100644 --- a/junit.opam +++ b/junit.opam @@ -1,19 +1,23 @@ -version: "dev" opam-version: "1.2" maintainer: "Louis Roché " authors: "Louis Roché " homepage: "https://github.com/Khady/ocaml-junit" bug-reports: "https://github.com/Khady/ocaml-junit/issues" license: "LGPLv3+ with OCaml linking exception" -dev-repo: "git://github.com/Khady/ocaml-junit.git" +dev-repo: "https://github.com/Khady/ocaml-junit.git" +doc: "https://khady.github.io/ocaml-junit/junit/" tags: ["junit" "jenkins"] depends: [ + "ocamlfind" {build} "jbuilder" {build & >= "1.0+beta10"} "ptime" "tyxml" {>= "4.0.0"} "odoc" {doc & >= "1.1.1"} ] available: [ocaml-version >= "4.02.3"] -build: [["jbuilder" "build" "-p" name "-j" jobs]] +build: [ + [ "jbuilder" "subst"] {pinned} + ["jbuilder" "build" "-p" name "-j" jobs] +] build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]] build-doc: [["jbuilder" "build" "@doc" "-p" name "-j" jobs]] diff --git a/pkg/pkg.ml b/pkg/pkg.ml new file mode 100644 index 0000000..4d12667 --- /dev/null +++ b/pkg/pkg.ml @@ -0,0 +1,3 @@ +#!/usr/bin/env ocaml +#use "topfind" +#require "topkg-jbuilder.auto"