package ocb
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=ec2d476c8b90fe255049140035b249e0f4f34b51e554794950f11be701b28932
sha512=2a7f006d370f39dec76c92534332b846842014c98966b3e75a856ba91ed63a7165d23f3e3b3eb63548356fff35b5ef5b8f066910ab5b2d3f5ecc6afcf6b99e47
Description
An OCaml library for SVG badge generation. There's also a command-line tool provided.
Added to opam-repository:
README
ocb
ocb (OCaml Badgen) is an OCaml library for SVG badge generation. There's also a command-line tool provided.
Quick start
Using the command-line tool
ocb --label Hello --color green --style flat --labelcolor white --status Goodbye > out.svg && xdg-open out.svgUsing the library
let () =
let open Ocb in
Gen.mk Format.std_formatter ~label:"Hello" ~color:Color.Blue ~style:Style.Flat ~label_color:Color.White ~status:"Goodbye" ()Credits
This project is inspired by badgen.
Dev Dependencies (1)
-
odoc
with-doc
Optional Dependencies
None
Conflicts
None
Build status
Results of building ocb 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.2 (this version) | good | good | good | good | good |
- 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