catala/compiler/catala_utils/dune
2024-04-26 15:40:55 +02:00

25 lines
415 B
Plaintext

(library
(name catala_utils)
(public_name catala.catala_utils)
(modules
(:standard \ get_version))
(libraries unix cmdliner ubase ocolor re))
(executable
(name get_version)
(modules get_version)
(libraries unix))
(documentation
(package catala)
(mld_files catala_utils))
(rule
(deps
(universe)
(env_var CATALA_VERSION))
(action
(with-stdout-to
version.ml
(run %{exe:get_version.exe}))))