summaryrefslogtreecommitdiff
path: root/hooks/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/pre-commit')
-rwxr-xr-xhooks/pre-commit1
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
index 402ec09..5a3ff7d 100755
--- a/hooks/pre-commit
+++ b/hooks/pre-commit
@@ -2,6 +2,7 @@
if [ -f $GIT_DIR/../app/Makefile ]; then
cd "$GIT_DIR/../app"
+ make test
make clean || exit 0
else
echo "No Makefile found." 1>&2