Skip to content

Commit

Permalink
add pre-commit hook to root
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfargo committed Dec 22, 2013
1 parent 8894044 commit c6173b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pre-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

git stash -q --keep-index
bin/compile && bin/test
RESULT=$?
git stash pop -q
exit $RESULT

0 comments on commit c6173b2

Please sign in to comment.