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:
|
2024-02-04 00:53:22 +00:00
|
|
|
sh bin/pdf.sh
|
2024-02-02 20:39:32 +00:00
|
|
|
|
|
|
|
# build menus!
|
|
|
|
menu: rem pdf
|
|
|
|
|
|
|
|
# shopping list
|
|
|
|
shopping:
|
2024-02-04 00:53:22 +00:00
|
|
|
sh bin/ingredients.sh
|