Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
just: Add pre-commit hook
Adrian Duke committed 22 days ago
commit 3be45e519ef9f9ce82802f652015ee9f298149fe
parent 47d1be7dec40b614a107f0355425ddfd9260506e
1 file changed +4 -0
modified justfile
@@ -1,6 +1,10 @@
default:
    @just --list

+
# Run pre-commit checks
+
pre-commit: format-rust check-rust check-docs check-typos check-spelling check-scripts check-keywords format-nix
+
    @echo "✅ pre-commit passed"
+

# Format Rust code
format-rust: (verify-tool "cargo")
    @echo "Cargo fmt..."