# show all commands default: just --list --unsorted # build referee-facing html spoilers: cat basement.order |\ xargs pandoc -f markdown -t markdown |\ pandoc \ -t html \ --standalone \ --toc \ --metadata title="BASEMENT QUEST" \ -H includes/styles.html \ > www/spoilers.html # build public facing html public: cat basement.order |\ xargs -I % pandoc -f markdown -t markdown --template=templates/player.tmpl % |\ pandoc -t html \ --standalone \ --toc \ --metadata title="BASEMENT QUEST" \ -H includes/styles.html \ > www/index.html # build rss rss: #!/bin/sh echo "Building xml file!!" echo "" > www/rss.xml echo "" >> www/rss.xml echo " " >> www/rss.xml echo " " >> www/rss.xml echo " BASEMENT QWEST" >> www/rss.xml echo " https://tilde.town/~dozens/basementquest/rss.xml" >> www/rss.xml echo " Friends having ADVENTURES! Huzzah!" >> www/rss.xml fd . 'src/' -e md -x pandoc -f markdown+autolink_bare_uris --template=templates/item.tmpl >> www/rss.xml echo " " >> www/rss.xml echo " " >> www/rss.xml echo "Done building xml file \o/" # build public, spoilers, and rss all: spoilers public rss