all: make config make js make hugo config: yj -yj -i < config.yaml > config.json yj -yt -i < config.yaml > config.toml watch: while true; do find . | entr -d -s 'make all'; done js: deno bundle --no-check --config tsconfig.json static/js/index.ts assets/js/index.js hugo: rm -rf public hugo --templateMetrics && hugo --templateMetrics rm -f .hugo_build.lock server: php -S 127.0.0.1:9294 -t public test: make test-html make test-xsl make test-xml make test-rss make test-jsonfeed test-html: validatornu \ public/index.html \ public/default/index.html test-css: validatornu --css \ assets/css/default.css test-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-sitemap: xmllint --noout --schema assets/schemas/sitemap-v0.9.xsd public/sitemap.xml # xmllint --noout --schema assets/schemas/sitemapindex-v0.9.xsd public/sitemap.xml test-jsonfeed: check-jsonschema --schemafile assets/schemas/jsonfeed-v1.1.json public/index.json icons: rm -rf static/icons mkdir -p static/icons/feather static/icons/tabler svn export --force https://github.com/feathericons/feather/trunk/LICENSE static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/alert-circle.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/archive.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/arrow-down-circle.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/arrow-left.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/arrow-right.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/arrow-up.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/at-sign.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/calendar.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/circle.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/clock.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/code.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/copy.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/edit.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/external-link.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/eye-off.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/file-text.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/git-commit.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/globe.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/heart.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/home.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/link.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/map-pin.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/rss.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/search.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/tag.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/trash-2.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/user.svg static/icons/feather svn export --force https://github.com/feathericons/feather/trunk/icons/users.svg static/icons/feather svn export --force https://github.com/tabler/tabler-icons/trunk/LICENSE static/icons/tabler svn export --force https://github.com/tabler/tabler-icons/trunk/icons/book-2.svg static/icons/tabler svn export --force https://github.com/tabler/tabler-icons/trunk/icons/clock.svg static/icons/tabler svn export --force https://github.com/tabler/tabler-icons/trunk/icons/pinned.svg static/icons/tabler svn export --force https://github.com/tabler/tabler-icons/trunk/icons/robot.svg static/icons/tabler git add -f static/icons