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
|
2023-08-24 03:34:52 +00:00
|
|
|
|
|
|
|
# build and rss
|
|
|
|
all: build rss
|