ordle/Justfile

28 lines
568 B
Makefile
Raw Normal View History

2024-12-14 14:16:38 +01:00
# List available actions
help:
@just -l
# Do a debug build
debug:
make -j$(nproc)
# Do a release build
release:
make -j$(nproc) RELEASE=1
# Watch and recompile on changes
watch:
watchexec -e c,cc,cpp,h,hpp -- make -j$(nproc)
2024-12-14 16:01:12 +01:00
# Produce a release PDF from readme
readme:
@# Requires pandoc pdflatex texlive-collection-fontsrecommended
pandoc --from=gfm --to=pdf -o README.pdf README.md
readme-podman:
podman run --rm --volume .:/data:Z docker.io/pandoc/latex --from=gfm --to=pdf README.md -o README.pdf
2024-12-14 14:16:38 +01:00
# Clean up
clean:
make clean