package ocamlformat-lib
Module Ocamlformat_lib.VersionSource
Source
val make :
major:Ocamlformat_stdlib.int ->
minor:Ocamlformat_stdlib.int ->
patch:Ocamlformat_stdlib.int Ocamlformat_stdlib.option ->
tA version number, or "unknown". This is provided by dune-build-info, which means that it will be resolved in the following way:
- if (version) is set in (dune-project), it is used. This is what happens when using opam pins (through dune subst), or for released versions (through dune-release).
- otherwise, a description from
git describewill be used. Caveat for this case: binaries under_build/will not have this information, butdune install --prefix _installwill copy a valid binary under_install/bin.