diff options
author | chai <chaifix@163.com> | 2021-10-26 11:32:46 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-26 11:32:46 +0800 |
commit | 0549b1e5a8a3132005e275d6026db8003cb067d2 (patch) | |
tree | f0d7751ec32ecf5c4d23997fa0ffd3450a5a755a /Data/Libraries/luaunit/junitxml/Makefile | |
parent | 32345800737b668011a87328cd3dcce59ec2934c (diff) |
*rename folder
Diffstat (limited to 'Data/Libraries/luaunit/junitxml/Makefile')
-rw-r--r-- | Data/Libraries/luaunit/junitxml/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Data/Libraries/luaunit/junitxml/Makefile b/Data/Libraries/luaunit/junitxml/Makefile new file mode 100644 index 0000000..9679016 --- /dev/null +++ b/Data/Libraries/luaunit/junitxml/Makefile @@ -0,0 +1,17 @@ +# +# junitxml/Makefile +# + +XMLLINT ?= xmllint +TEST_APACHE = --noout --schema junit-apache-ant.xsd +TEST_JENKINS = --noout --schema junit-jenkins.xsd + +validate-examples: validate-apache validate-jenkins + +# This example file is the only one that satisfies the Apache schema +validate-apache: example-apache-ant.xml + $(XMLLINT) $(TEST_APACHE) $< + +# The Jenkins schema is more relaxed, and should apply to all .xml files +validate-jenkins: $(wildcard *.xml) + for file in $^; do $(XMLLINT) $(TEST_JENKINS) $$file || exit 1; done |