feat: remove make, add just

master
dozens 2021-08-29 14:59:57 -06:00
parent 40411d667f
commit 9cab50e940
2 changed files with 20 additions and 2 deletions

View File

@ -1,2 +0,0 @@
default: rss.sh
./bin/rss.sh

20
justfile 100644
View File

@ -0,0 +1,20 @@
# 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