summaryrefslogtreecommitdiff
path: root/hooks/pre-commit
blob: f3043297b7a4aa54f62eab549e89cdfaaa3d8129 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

if [ -f $GIT_DIR/../app/Makefile ]; then
	cd "$GIT_DIR/../app"
	make clean || exit 0
else
	exit 1
fi