opam-version: "2.0"
maintainer: "Louis Roché <louis@louisroche.net>"
authors: "Louis Roché <louis@louisroche.net>"
homepage: "https://github.com/Khady/ocaml-junit"
bug-reports: "https://github.com/Khady/ocaml-junit/issues"
license: "LGPL-3.0-or-later with OCaml-LGPL-linking-exception"
dev-repo: "git+https://github.com/Khady/ocaml-junit.git"
doc: "https://khady.github.io/ocaml-junit/junit/"
tags: ["junit" "jenkins"]
depends: [
  "ocaml" {>= "4.02.3"}
  "ocamlfind" {build}
  "jbuilder" {>= "1.0+beta10"}
  "ptime"
  "tyxml" {>= "4.0.0"}
  "odoc" {with-doc & >= "1.1.1"}
]
build: [
  ["jbuilder" "subst" "-p" name] {pinned}
  ["jbuilder" "build" "-p" name "-j" jobs]
  ["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
  ["jbuilder" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]
synopsis: "JUnit"
description: """
ocaml-junit is a module for the creation of JUnit XML reports. It
provides a typed API to produce valid reports. They are supposed to be
accepted by Jenkins.

## Installation

opam pin add junit https://github.com/Khady/ocaml-junit.git

## Documentation

Available [here](https://khady.github.io/ocaml-junit/junit/)

## References:

- [Jenkins](https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd)
- [JUnit-Schema](https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd)
- [Windyroad](http://windyroad.com.au/dl/Open%20Source/JUnit.xsd)
- [a gist](https://gist.github.com/erikd/4192748)

Those files are archived in directory [`schemes`](schemes)

License: LGPL either version 3 of the License, or (at your option) any
later version with OCaml linking exception."""
url {
  src:
    "https://github.com/Khady/ocaml-junit/releases/download/1.0/junit-1.0.tbz"
  checksum: "md5=419411defafe17efad70cb39f563203c"
}
