aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f438eb9..b952bf2 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,9 @@ server:
test:
make test-html
make test-xsl
+ make test-xml
+ make test-rss
+ make test-jsonfeed
test-html:
validatornu \
@@ -31,12 +34,23 @@ test-html:
public/default/index.html
test-css:
- validatornu --css \
- assets/css/default.css
+ validatornu --css \
+ assets/css/default.css
test-xsl:
- xsltproc \
- public/rss.xsl
+ xsltproc \
+ public/rss.xsl
+
+test-xml:
+ xmllint --noout \
+ public/rss.xml
+
+test-rss:
+ xmllint --noout --relaxng assets/schemas/rss-v2.0.rng public/rss.xml
+# xmllint --noout --schema assets/schemas/rss-v2.0.xsd public/rss.xml
+
+test-jsonfeed:
+ check-jsonschema --schemafile assets/schemas/jsonfeed-v1.1.json public/index.json
icons:
rm -rf static/icons