catala/compiler/catala_utils/version.mli
Louis Gesbert 7b25a42970 Better version handling
Always generate the version through git when possible, and encode that within
the binaries so that `catala --version` does'nt give misleading information.

Previously we used dune's builtin functionality, but that resorts to a hack at
install time which is unpleasant and doesn't work with our use of `opam
install`.

The cost is a re-linking of catala_utils and the binaries upon git commit, which
is hardly noticeable.
2024-01-24 11:41:34 +01:00

5 lines
162 B
OCaml

(** The implementation of this module is generated by the build system (through
[get_version.ml]), and should only contain a static string *)
val v : string