catala/dune
Louis Gesbert 30297b27b8 Add dune rule to build tests
This allows a new magic command: `dune test -w`
2022-05-25 18:33:20 +02:00

22 lines
392 B
Plaintext

(dirs compiler french_law build_system)
(data_only_dirs tests examples syntax_highlighting)
(alias
(name exec)
(deps compiler/catala.exe build_system/clerk.exe))
(rule
(alias runtest)
(deps
(source_tree tests))
(action
(run clerk --exe %{bin:catala} test tests)))
(rule
(alias runtest)
(deps
(source_tree examples))
(action
(run clerk --exe %{bin:catala} test examples)))