From d96962adf6238b8c168df93315b7c8ef784415dd Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 10 Apr 2026 15:09:32 +0300 Subject: chore: add pre-commit fmt hook --- justfile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'justfile') diff --git a/justfile b/justfile index 4dd729c4..3232568b 100644 --- a/justfile +++ b/justfile @@ -14,6 +14,12 @@ ci: check: ci python3 -m unittest scripts.test_changelog scripts.test_vendor_libghostty_vt +# Install repo-local git hooks +install-hooks: + git config core.hooksPath .githooks + chmod +x .githooks/pre-commit + @echo "installed git hooks from .githooks" + # Build release binary build: cargo build --release -- cgit v1.2.3