meals/justfile

31 lines
527 B
Plaintext
Raw Permalink 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
2024-02-10 17:46:27 +00:00
# shell archive
shar:
shar `git ls-files`