1 2 3 4 5 6 7 8 9 10 11 12
#!/usr/bin/env bash # Repo-specific pre-push — runs alongside the canonical ResQ pre-push hook. # Generated by `resq dev scaffold-local-hook --kind rust`. set -euo pipefail if ! command -v cargo >/dev/null 2>&1; then echo "❌ cargo not found; cannot run required workspace check." >&2 exit 1 fi echo " Rust: cargo check --workspace --quiet" cargo check --workspace --quiet