From 493e2364d7595191d4d1cb571142c92a52164f5b Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 21 Apr 2026 15:44:23 +0200 Subject: [PATCH] add a little test to see if the git check is there, and if not add it --- justfile | 1 + 1 file changed, 1 insertion(+) diff --git a/justfile b/justfile index b42fbed..f686bf0 100644 --- a/justfile +++ b/justfile @@ -42,5 +42,6 @@ setup: push: git pull git add * + [ -s "./.git/hooks/pre-commit" ] || echo "just test" >> ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit read -e -p "Commit message: " -i "$(cat .commit-message || echo '')" -r message && echo "$message" > .commit-message && git commit -m "$message" && rm -f .commit-message git push