#!/bin/sh
# Pre-push hook: mirrors CI checks from .github/workflows/ci.yml
# Runs cargo fmt check and cargo clippy before allowing pushes.
# Install: run 'make setup' or 'git config core.hooksPath .githooks'
# Check formatting (mirrors CI fmt job: cargo fmt --all -- --check)
if ! ; then
fi
# Check clippy (mirrors CI clippy job: cargo clippy --all-targets --all-features)
if ! RUSTFLAGS="-Dwarnings" ; then
fi
# Run tests (mirrors CI test job: cargo test --all-features)
if ! ; then
fi