add setup for the pre-commit hook to just setup
This commit is contained in:
parent
241d2180a7
commit
f60c7bfce7
2 changed files with 16 additions and 16 deletions
3
justfile
3
justfile
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue