summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (mars.fritz.box) <paul@buetow.org>2013-10-03 12:25:16 +0200
committerPaul Buetow (mars.fritz.box) <paul@buetow.org>2013-10-03 12:25:16 +0200
commit97801d3dc4e6ab0c07110d372ab1d38786225fc7 (patch)
treeb5c33cf8d4c21e44eb8074a931bc957cfca304d5
parenta91a4f26d2cde19e51447c842f5f71495f197717 (diff)
Reformatted XML
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c446424..c394678 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: check format git
+all: check format push
check:
@echo Checking for valid XML
find . -name \*.xml -type f | while read xml; do \
@@ -10,6 +10,6 @@ format:
xmllint --format "$$xml" >"$$xml.tmp" && \
mv "$$xml.tmp" "$$xml"; \
done
-git:
- git commit -a -m 'Reformatted XML' && \
- git push origin hosts
+ git commit -a -m 'Reformatted XML' || exit 0
+push:
+ git push origin hosts