#!/usr/bin/env bash
# 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
