Added Makefile to install the hook for automatic test

This commit is contained in:
2019-06-28 00:54:06 -03:00
parent dc437d7044
commit 8e14eb86b3
3 changed files with 13 additions and 2 deletions

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
install:
composer update
chmod +x ./pre-push.sh
mkdir -p .git/hooks
ln -fs ../../pre-push.sh .git/hooks/pre-push
uninstall:
rm -f ./.git/hooks/pre-push