diff options
author | Leif Johansson <leifj@sunet.se> | 2013-06-16 20:25:53 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2013-06-16 20:25:53 +0200 |
commit | b217869b73c7ceb7653972740e0f796cf9bbd383 (patch) | |
tree | ca10c13dc56d3c1665f5e89759e91ede7489bffc /Makefile | |
parent | 5b14805f2ecc3b89ea0ff9b08a8714a3b895347e (diff) | |
parent | c5391135cbba3c20214e9e44c433925931df1453 (diff) |
Merge branch 'master' of md-master.swamid.se:swamid-metadata
Conflicts:
swamid-1.0/shib-idp-1.oru.se.xml
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -134,9 +134,17 @@ swamid-ki-sll: test: swamid2-deps @for x in $(MXML); do xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x 2>&1 ; done | sed 's/fails to validate/[1;31m&[0m/;s/validates/[1;32m&[0m/' + @for x in $(MXML); do xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x > /dev/null 2>&1 || exit 1 ; done clean: @rm -f *.xml *.tbs *.n tidy: @for x in `find $(SRCDIRS) -name \*.xml`; do xsltproc xslt/clean-entitydescriptor.xsl $$x > $$x.c && mv $$x.c $$x; done + +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 + @echo ; echo -n "Run 'git push'? [Y/n] " ; read x ; case $$x in "Y"|"y"|"") ;; *) exit 1 ;; esac + @git push + |