aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-04-10 15:09:32 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-04-10 15:09:32 +0300
commitd96962adf6238b8c168df93315b7c8ef784415dd (patch)
tree9ebfbbd8c84d4a42a331dc3e45a393aa8f21b9c4 /justfile
parentf5282d9ad28af32c11db1e13a485878225fcd9bf (diff)
chore: add pre-commit fmt hook
Diffstat (limited to 'justfile')
-rw-r--r--justfile6
1 files changed, 6 insertions, 0 deletions
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