protoadandsuperbowl/justfile

21 lines
380 B
Plaintext
Raw Normal View History

2021-08-29 20:59:57 +00:00
# list available commands and exit
default:
@just --list --unsorted
# build rss feed
rss:
@./bin/rss.sh
# watch toad.md for changes
watch:
@ls bin/toad.md | entr -c retro bin/toad.md src/00001.txt
alias dev := watch
# build all comics
build:
#!/usr/bin/env sh
for f in $(ls src/*.txt); do
base=`basename ${f}`
retro bin/toad.md ${f} > "${base/txt/md}"
done