add jujutsu article

This commit is contained in:
Fabien Freling 2025-02-03 16:55:36 +01:00
parent c47942b451
commit 271083d71f
12 changed files with 321 additions and 3 deletions

View file

@ -1,8 +1,8 @@
# vim: set ft=make :
root := `pwd`
root := justfile_directory()
build := root / "build"
# Build static website
build:
build: jj-slides
tup build
clean:
@ -23,3 +23,13 @@ deploy: build
preview: build
python3 -m webbrowser -t "file://{{root}}/build/index.html"
JJ_SLIDES_SRC := root / "articles/jujutsu/slides.md"
JJ_SLIDES_OUT := build / "articles/jujutsu/jujutsu_slides.pdf"
jj-slides:
npx @marp-team/marp-cli@latest --allow-local-files \
--bespoke.progress {{ JJ_SLIDES_SRC }} --pdf \
--output {{ JJ_SLIDES_OUT }}
jj-slides-watch:
ls {{ JJ_SLIDES_SRC }} | entr just jj-slides