Files
thoughts/.githooks/pre-commit
Gabriel Kaszewski 9aee4ceb6d
Some checks failed
lint / lint (push) Has been cancelled
test / unit (push) Has been cancelled
test / integration (push) Has been cancelled
feat: v2 rewrite — hexagonal arch, ActivityPub federation, NATS, deployment-ready (#1)
2026-05-16 09:42:40 +00:00

14 lines
255 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
echo "→ cargo fmt"
if ! cargo fmt --all -- --check; then
echo " run 'cargo fmt --all' to fix formatting"
exit 1
fi
echo "→ cargo clippy"
if ! cargo clippy --workspace -- -D warnings; then
exit 1
fi