add setup for the pre-commit hook to just setup

This commit is contained in:
Lillian Violet 2024-12-05 23:50:16 +01:00
parent 241d2180a7
commit f60c7bfce7
2 changed files with 16 additions and 16 deletions

View file

@ -14,6 +14,9 @@ clean:
sudo nix-collect-garbage
sudo nix-store --optimise
setup:
echo "just test" >> ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit
push:
git add *
read -p "Commit message: " -r message && git commit -m "$message"