CLERK

NAME

clerk - Build system for Catala, a specification language for tax and social benefits computation rules.

SYNOPSIS

clerk COMMAND â¦

DESCRIPTION

clerk is a build system for Catala, a specification language for tax and social benefits computation rules

COMMANDS

build [OPTION]⦠[TARGETS]â¦

Low-level build command: can be used to forward build targets or options directly to Ninja

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

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

COMMON OPTIONS

--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.

EXIT STATUS

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).

AUTHORS

Denis Merigoux <denis.merigoux@inria.fr>

Emile Rolley <emile.rolley@tuta.io>

Louis Gesbert <louis.gesbert@inria.fr>

EXAMPLES

Typical usage:

clerk test file.catala_en

BUGS

Please file bug reports at https://github.com/CatalaLang/catala/issues