feat: v2 rewrite — hexagonal arch, ActivityPub federation, NATS, deployment-ready (#1)
This commit was merged in pull request #1.
This commit is contained in:
13
.githooks/pre-commit
Executable file
13
.githooks/pre-commit
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user