Done, written in English
You describe success in plain language; deadreckon compiles it into executable checks the watchdog runs every time.
maps to as-built §13
The gate can only check what you have defined. So deadreckon lets you write the finish line in plain English and compiles it into checks the watchdog can actually run.
deadreckon def-done "build, load in a browser, show no console errors"
deadreckon def-done add "users can save drawings"
deadreckon def-done check Each sentence becomes one or more of five executable check kinds:
cargo_test: a Rust test target passes.file_exists: a path is present after the run.content_match: a file contains an expected pattern.build_success: a build command exits cleanly.shell: any command you choose succeeds (exits 0).
If you define nothing, the default is sensible: the working directory exists
and, when a Cargo.toml is present, cargo test passes.
Whatever you compile, dr-gate runs it on every claim of done, and
if the checks fail, the run keeps going.
source