clerk - Build system for Catala, a specification language for tax and social benefits computation rules.
clerk COMMAND â¦
clerk is a build system for Catala, a specification language for tax and social benefits computation rules
build [OPTION]⦠[TARGETS]â¦
Low-level build command: can be used to forward build targets or options directly to Ninja. Without a target argument, lists all available build targets to stdout.
report [OPTION]⦠[FILE(S)]â¦
Mainly for internal purposes. Reads a test report file and displays a summary of the results, returning 0 on success and 1 if any test failed.
run [OPTION]⦠[FILE(S)]â¦
Runs the Catala interpreter on the given files, after building their dependencies. The scope to be executed must be specified using the -s option.
runtest [OPTION]⦠FILE [OUTFILE]
Mainly for internal purposes. Runs inline tests from a Catala file, and outputs their results to stdout
test [OPTION]⦠[FILE(S)]â¦
Scan the given files or directories for catala tests, build their requirement and run them all. With --reset the expected results are updated in-place ; otherwise, 0 is returned if the output matches the reference, or 1 is returned and a diff is printed to stdout
--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
--version
Show version information.
clerk exits with:
0 |
on success. |
|||
1 |
on error. |
|||
123 |
on indiscriminate errors reported on standard error. |
|||
124 |
on command line parsing errors. |
|||
125 |
on unexpected internal errors (bugs). |
Denis Merigoux <denis.merigoux@inria.fr>
Emile Rolley <emile.rolley@tuta.io>
Louis Gesbert <louis.gesbert@inria.fr>
Typical usage:
clerk test file.catala_en
Please file bug reports at https://github.com/CatalaLang/catala/issues