package osh

Not available on OCaml 5.5
  1. Overview
  2. Docs
OCaml web API to generate SVG shields

Install

dune-project
 Dependency

Authors

Maintainers

Sources

osh-0.1.tar.bz2
sha256=c5c6509d36e50715bb0bb90d54375a2fc618a7010c8c79c4663d8ffd5b5fde22
sha512=cceaa356636ba8ca75e855c5f580e44d43e5cdf8cccf10293fcdad14bedffb35587896f55867f73bbd1c7804d229b9d8d2422eb3165eb8ff5d38064deb0b7d6c

Description

osh in an OCaml website, providing an API to generate SVG shields.

README

osh

osh is an OCaml website, providing an API to generate SVG shields.

Installation

osh can be installed with opam:

opam install osh

If you don't have opam, you can install it following the how to install opam guide.

If you can't or don't want to use opam, consult the opam file for build instructions.

Quickstart

$ curl https://osh.ocamlpro.com/badge\?label\=build\&color\=green\&status\=passing > badge.svg
$ cat badge.svg
<svg width="88.600000" height="20.000000" viewBox="0 0 886.000000 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="build: passing">
  <title>build: passing</title>
  <g>
    <rect fill="#2A2A2A" width="368.000000" height="200"/>
    <rect fill="#3C1" x="368.000000" width="518.000000" height="200"/>
  </g>
  <g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
    <text x="60.000000" y="148" textLength="268.000000" fill="#000" opacity="0.1">build</text>
    <text x="50.000000" y="138" textLength="268.000000">build</text>
    <text x="423.000000" y="148" textLength="418.000000" fill="#000" opacity="0.1">passing</text>
    <text x="413.000000" y="138" textLength="418.000000">passing</text>
  </g>
  </svg>

For more, have a look at the example folder, at the documentation or at the test suite.

About

Dependencies (8)

  1. yojson >= "1.7.0"
  2. ezcurl >= "0.2"
  3. omd >= "2.0.0~alpha2"
  4. crunch >= "3.2.0"
  5. ocb < "0.2"
  6. dream >= "1.0.0~alpha2" & < "1.0.0~alpha3"
  7. ocaml >= "4.08"
  8. dune >= "2.8"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building osh with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.1 (this version) good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure