mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
7b25a42970
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.
5 lines
162 B
OCaml
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
|