diff --git a/script/check b/script/check index e6879443..b31fd795 100755 --- a/script/check +++ b/script/check @@ -1,5 +1,8 @@ #!/usr/bin/env bash -# Fast compile-only check: no frontend build, no clippy, no tests. +# Fast compile-only check + doc-coverage check on changed files. # Use this for rapid iteration feedback while writing code. +# Catches the doc-coverage gate failures locally instead of waiting for +# the merge gate to bounce on a single missing `///`. set -euo pipefail cargo check --tests --workspace +cargo run -p source-map-gen --bin source-map-check -- --worktree . --base master