package ocb
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=aa27684fbda1b8036ae7e3c87de33a98a9cd2662bcc91c8447e00e41476b6a46
sha512=1260344f184dd8c8074b0439dbcc8a5d59550a654c249cd61913d4c150c664f37b76195ddca38f7f6646d08bddb320ceb8d420508450b4f09a233cd5c22e6b9b
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
Conflicts
None
Build status
Results of building ocb with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. 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.
This version is not in the latest run; the versions below are.
- 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