mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
538e97dfd3
Runtimes for the various backends are expected to be made available from their own ecosystem. However, for convenience and to help with development settings (where the runtime might change), as part of installing catala they are put, in source form, into `<prefix>/lib/catala/runtime_LANG`. When using a dev version of Catala, and using Python, one would then just have to do `pip install <prefix>/lib/catala/runtime_python` within their venv to be able to run their python programs.
33 lines
689 B
Plaintext
33 lines
689 B
Plaintext
(library
|
|
(name clerk_driver)
|
|
(public_name catala.clerk_driver)
|
|
(libraries
|
|
catala.runtime_ocaml
|
|
catala.catala_utils
|
|
catala.surface
|
|
ninja_utils
|
|
cmdliner
|
|
re
|
|
ocolor)
|
|
(modules clerk_scan clerk_runtest clerk_driver))
|
|
|
|
(rule
|
|
(target custom_linking.sexp)
|
|
(mode fallback)
|
|
(action
|
|
(with-stdout-to
|
|
%{target}
|
|
(echo "()"))))
|
|
|
|
(executable
|
|
(name clerk)
|
|
(public_name clerk)
|
|
(flags
|
|
(:standard
|
|
(:include custom_linking.sexp)))
|
|
(libraries clerk_driver)
|
|
(link_deps ../compiler/catala.exe)
|
|
; 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`)
|
|
(modules clerk)
|
|
(package catala))
|