Build information library for monopam tools.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

OCaml 78.5%
Dune 4.6%
Other 16.9%
18 1 0

Clone this repository

https://tangled.org/gazagnaire.org/monopam-info https://tangled.org/did:plc:jhift2vwcxhou52p3sewcrpx/monopam-info
git@git.recoil.org:gazagnaire.org/monopam-info git@git.recoil.org:did:plc:jhift2vwcxhou52p3sewcrpx/monopam-info

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

monopam-info#

Build and version information for monopam.

Overview#

This library provides version information using dune-build-info. It returns the package version when available, or the git commit hash as a fallback.

Installation#

Install with opam:

opam install monopam-info

If opam cannot find the package, it may not yet be released in the public opam-repository. Add the overlay repository, then install it:

opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git
opam update
opam install monopam-info

Usage#

let () = Fmt.pr "monopam %s@." Monopam_info.version

Build Modes#

  • Release mode -- Uses the package version from dune-build-info
  • Development mode -- Falls back to git commit hash

Licence#

ISC