forked from dozens/protoadandsuperbowl
feat: remove make, add just
parent
40411d667f
commit
9cab50e940
|
@ -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
|
Loading…
Reference in New Issue