meals/justfile

27 lines
482 B
Plaintext
Raw Normal View History

2024-02-02 20:39:32 +00:00
# show all recipes
default:
just --list --unsorted
remtmpl := '''
"rem {{date}} at 08:00 tag breakfast msg {{breakfast}}%
rem {{date}} at 12:00 tag lunch msg {{lunch}}%
rem {{date}} at 18:00 tag dinner msg {{dinner}}%
"'''
# build menu.rem from menu.rec
rem:
#!/bin/sh
exec > dist/menu.rem
recsel db/menu.rec | recfmt {{remtmpl}}
# build menu pdf from menu.rec
pdf:
sh bin/pdf.sh
2024-02-02 20:39:32 +00:00
# build menus!
menu: rem pdf
# shopping list
shopping:
sh bin/ingredients.sh