#!/bin/sh # The single CI entry point; run it before every commit. # One check per line: `set -e` doesn't apply on the left of `&&` / `||`, so # chaining would let a failing check pass silently. set -eu cd "$(dirname "$0")/.." cargo fmt --check cargo clippy --all-targets -- -D warnings cargo test