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 1 month ago
commit 3082f9976df65483e282a30c10a97e6f79cd0fae
parent 9310b1eff24e9449aa1257592aab4601c7ebc4f0
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..."