summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6748a3d1..44131729 100644
--- a/Makefile
+++ b/Makefile
@@ -146,6 +146,7 @@ commit: tidy test
@echo ; echo -n "Run 'git commit -a'? [Y/n] " ; read x ; case $$x in "Y"|"y"|"") ;; *) exit 1 ;; esac
@git commit -a
@git status -u
+ @if git status --porcelain --ignored | awk '{print $2}' | grep ^swamid-2.0/ ; then echo "Untracked files in swamid-2.0/, aborting" ; exit 1 ; fi
@echo ; echo -n "Run 'git push'? [Y/n] " ; read x ; case $$x in "Y"|"y"|"") ;; *) exit 1 ;; esac
@git push