2022-02-25 20:00:10 +03:00
|
|
|
(library
|
|
|
|
(name clerk_driver)
|
2023-10-17 16:24:36 +03:00
|
|
|
(public_name catala.clerk_driver)
|
2022-07-20 12:51:08 +03:00
|
|
|
(libraries
|
|
|
|
catala.runtime_ocaml
|
2022-11-21 12:46:17 +03:00
|
|
|
catala.catala_utils
|
2023-09-11 17:44:35 +03:00
|
|
|
catala.surface
|
2022-07-20 12:51:08 +03:00
|
|
|
ninja_utils
|
|
|
|
cmdliner
|
|
|
|
re
|
2024-06-25 19:29:42 +03:00
|
|
|
ocolor
|
|
|
|
otoml)
|
|
|
|
(modules clerk_scan clerk_report clerk_runtest clerk_config clerk_driver))
|
2022-02-25 20:00:10 +03:00
|
|
|
|
2022-08-03 16:03:33 +03:00
|
|
|
(rule
|
|
|
|
(target custom_linking.sexp)
|
|
|
|
(mode fallback)
|
|
|
|
(action
|
|
|
|
(with-stdout-to
|
|
|
|
%{target}
|
|
|
|
(echo "()"))))
|
|
|
|
|
2022-02-25 20:00:10 +03:00
|
|
|
(executable
|
|
|
|
(name clerk)
|
|
|
|
(public_name clerk)
|
2022-08-03 16:03:33 +03:00
|
|
|
(flags
|
|
|
|
(:standard
|
|
|
|
(:include custom_linking.sexp)))
|
2023-10-17 16:24:36 +03:00
|
|
|
(libraries clerk_driver)
|
2023-10-18 17:57:47 +03:00
|
|
|
(link_deps ../compiler/catala.exe)
|
2023-11-10 20:15:13 +03:00
|
|
|
; not a real dependency, but when running clerk in practice you always want the catala binary to be up-to-date (e.g. `dune exec -- ckerk test`)
|
2022-02-25 20:00:10 +03:00
|
|
|
(modules clerk)
|
2023-10-17 16:24:36 +03:00
|
|
|
(package catala))
|