catala/french_law/ocaml/dune
2023-03-03 14:51:51 +01:00

36 lines
665 B
Plaintext

(executable
(name bench)
(modes native)
(public_name bench)
(modules bench)
(package french_law)
(libraries catala.runtime_ocaml french_law benchmark))
(executable
(name api_web)
(modes byte js)
(modules
(:standard \ bench api))
(preprocess
(pps js_of_ocaml-ppx))
(libraries
catala.runtime_ocaml
catala.runtime_jsoo
js_of_ocaml
yojson
law_source))
(library
(name api)
(public_name french_law)
(synopsis
"A collection of functions for computing French taxes and benefits derived from Catala programs")
(libraries catala.runtime_ocaml law_source)
(modules api))
(rule
(alias runtest)
(package french_law)
(action
(run bench)))