Add pre-commit hook

This commit is contained in:
Ben Goldsworthy 2021-02-20 20:44:33 +00:00 committed by Rumperuu
parent 4fd4405844
commit 52a5d6957e
4 changed files with 176 additions and 32 deletions

4
_tools/setup.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/sh
cp contrib/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit