tinyactors check
Check that charts compile or that an image verifies.
Usage
tinyactors check [options] INPUT...Compiles the inputs, or verifies an image or every image of a snapshot. Writes nothing but whether they are valid and the diagnostics.
Options
-W, --warnings-as-errorsRefuse a chart that compiles with a warning.-I, --include DIRSearchDIRfor a src that is not beside the file naming it, in the order given. Repeatable.
Configure output formats like -f json using the shared options on the command reference.
Examples
tinyactors check charts/*.scxml# Check
## Inputs
- charts/order.scxml
- charts/payment.scxml
- **Valid**: yes
- **Bytes**: 3568
- **Hash**: a5b071eec6fba4c8
- **Charts**: 2
- **Boot actors**: 1
## Diagnostics
_none_Check that every chart in a directory compiles.
tinyactors check -W --format json order.scxml{
"inputs": [
"order.scxml"
],
"valid": true,
"bytes": 2720,
"hash": "5e66ab57693504aa",
"charts": 1,
"bootActors": 1,
"diagnostics": []
}Refuse a chart with a warning and answer in JSON.
Exit status
1An input is refused: it does not compile or verify, or it is damaged or of an unknown format.3A file cannot be read or written, or memory runs out.
Related pages
tinyactors compileCompile charts or a system manifest into an image.tinyactors lintFind what cannot work as written in charts.tinyactors fmtRewrite charts and system manifests in the canonical layout.