2020-11-23 11:22:47 +03:00
|
|
|
(library
|
2022-11-21 12:46:17 +03:00
|
|
|
(name catala_utils)
|
|
|
|
(public_name catala.catala_utils)
|
2024-01-22 16:57:43 +03:00
|
|
|
(modules
|
|
|
|
(:standard \ get_version))
|
|
|
|
(libraries unix cmdliner ubase ocolor re bindlib catala.runtime_ocaml))
|
|
|
|
|
|
|
|
(executable
|
|
|
|
(name get_version)
|
|
|
|
(modules get_version)
|
|
|
|
(libraries unix))
|
2020-12-14 20:09:38 +03:00
|
|
|
|
|
|
|
(documentation
|
|
|
|
(package catala)
|
2022-11-21 12:46:17 +03:00
|
|
|
(mld_files catala_utils))
|
2024-01-22 16:57:43 +03:00
|
|
|
|
|
|
|
(rule
|
|
|
|
(deps
|
|
|
|
(universe)
|
|
|
|
(env_var CATALA_VERSION))
|
|
|
|
(action
|
|
|
|
(with-stdout-to
|
|
|
|
version.ml
|
|
|
|
(run %{exe:get_version.exe}))))
|