Build information library for monopam tools.
0
fork

Configure Feed

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

ocaml-linkedin: apply dune fmt

Pure formatting changes from `dune fmt`: doc comment placement moves
from above the binding to below it for `type`s, multi-line `match`
expressions collapse onto one line where they fit, and infix operator
applications pick up spaces (`Soup.($?)` -> `Soup.( $? )`). No
semantic changes.

+28 -1
+17
README.md
··· 7 7 This library provides version information using `dune-build-info`. It returns 8 8 the package version when available, or the git commit hash as a fallback. 9 9 10 + ## Installation 11 + 12 + Install with opam: 13 + 14 + ```sh 15 + opam install monopam-info 16 + ``` 17 + 18 + If opam cannot find the package, it may not yet be released in the public 19 + `opam-repository`. Add the overlay repository, then install it: 20 + 21 + ```sh 22 + opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 23 + opam update 24 + opam install monopam-info 25 + ``` 26 + 10 27 ## Usage 11 28 12 29 ```ocaml
+4
dune
··· 1 1 (env 2 2 (dev 3 3 (flags :standard %{dune-warnings}))) 4 + 5 + (mdx 6 + (files README.md) 7 + (libraries monopam-info fmt))
+5 -1
dune-project
··· 1 1 (lang dune 3.21) 2 + (using mdx 0.4) 2 3 (name monopam-info) 3 4 (license ISC) 4 5 (authors "Thomas Gazagnaire <thomas@gazagnaire.org>") ··· 13 14 (depends 14 15 (ocaml (>= 5.0)) 15 16 (dune (>= 3.0)) 16 - dune-build-info)) 17 + (mdx :with-test) 18 + dune-build-info 19 + (fmt :with-test)) 20 + )
+2
monopam-info.opam
··· 8 8 depends: [ 9 9 "ocaml" {>= "5.0"} 10 10 "dune" {>= "3.21" & >= "3.0"} 11 + "mdx" {with-test} 11 12 "dune-build-info" 13 + "fmt" {with-test} 12 14 "odoc" {with-doc} 13 15 ] 14 16 build: [