Build information library for monopam tools.
0
fork

Configure Feed

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

docs: add README files for monopam-info, ocaml-merlin, and sexpt

+23
+23
README.md
··· 1 + # monopam-info 2 + 3 + Build and version information for monopam. 4 + 5 + ## Overview 6 + 7 + This library provides version information using `dune-build-info`. It returns 8 + the package version when available, or the git commit hash as a fallback. 9 + 10 + ## Usage 11 + 12 + ```ocaml 13 + let () = Fmt.pr "monopam %s@." Monopam_info.version 14 + ``` 15 + 16 + ## Build Modes 17 + 18 + - **Release mode** -- Uses actual git hash via `git rev-parse --short HEAD` 19 + - **Development mode** -- Returns `"dev"` to avoid rebuilds on every commit 20 + 21 + ## Licence 22 + 23 + ISC