From 97801d3dc4e6ab0c07110d372ab1d38786225fc7 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (mars.fritz.box)" Date: Thu, 3 Oct 2013 12:25:16 +0200 Subject: Reformatted XML --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3