horse/horse/justfile

36 lines
587 B
Plaintext

# list all recipes
default:
@just --list --unsorted
# make html
html:
@pandoc -s --toc -t html -o horse.html README.md
# make pdf from markdown
pdf-from-md:
@pandoc -s --toc -t pdf -o horse.pdf README.md
# make pdf from typst
pdf-from-typ:
typst compile horse.typ
# watch for changes
watch:
@ls README.md | entr just html
# get 1 adj
adj:
@recsel -t adj -m 1 -P adj horse.rec
# get 1 noun
noun:
@recsel -t noun -m 1 -P noun horse.rec
# get 1 breed
breed:
@recsel -t breed -m 1 -P name horse.rec
# get 1 sport
sport:
@recsel -P name,desc -t sport -m 1 horse.rec