rolldown/justfile

24 lines
412 B
Plaintext
Raw Permalink Normal View History

2022-11-01 21:18:05 +00:00
# show all commands
default:
just --list --unsorted
# build html
html:
pandoc -t html story.md -o index.html
# watch for updates and build html
watch:
ls story.md | entr -c just html
# m4 demonstration
m4:
echo "hello this is patrick" | m4 -D "patrick=krusty krab"
# roll some dice
roll:
recsel -P result -m 1 db.rec
# show all bad results
bad:
recsel -e "id <= 6" -G result -p id,result db.rec