diff options
author | tdro <tdro@noreply.example.com> | 2022-12-03 20:09:08 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-12-03 20:09:08 -0500 |
commit | 3be44b5e0e224ad2d19f5af479de58680ee905fa (patch) | |
tree | 7647b99bf960318ff13e42383a5962052f9187c6 /Makefile | |
parent | d27acd8bb3bdbfa1c8a70b76592f9c39eed18810 (diff) | |
download | canory-3be44b5e0e224ad2d19f5af479de58680ee905fa.tar.gz canory-3be44b5e0e224ad2d19f5af479de58680ee905fa.tar.bz2 canory-3be44b5e0e224ad2d19f5af479de58680ee905fa.zip |
assets: Add schemas
House keeping guardrails
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 18 insertions, 4 deletions
@@ -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 |