Adding git hook

This commit is contained in:
Tomusdrw 2016-01-22 08:09:16 +01:00
parent b00e4b9d95
commit 1970d79337
1 changed files with 3 additions and 0 deletions

3
hook.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
echo "#!/bin/sh\ncargo test" >> ./.git/hooks/pre-push
chmod +x ./.git/hooks/pre-push