type-theory/Makefile

28 lines
639 B
Makefile
Raw Normal View History

2024-05-17 06:49:10 +00:00
GENDIR := html/src/generated
2024-05-20 07:40:03 +00:00
2024-05-17 06:49:10 +00:00
build-to-html:
2024-07-10 22:03:51 +00:00
nu scripts/build-table
2024-05-30 21:54:04 +00:00
find src \
2024-07-10 22:03:51 +00:00
-not \( -path src/Misc -prune \) \
\( -name "*.agda" -o -name "*.lagda.md" \) \
-print0 \
| rust-parallel -0 agda \
--html \
2024-05-17 18:50:46 +00:00
--html-dir=$(GENDIR) \
--allow-unsolved-metas \
--html-highlight=auto \
2024-07-10 22:03:51 +00:00
--no-load-primitives \
|| true
2024-05-17 06:49:10 +00:00
fd --no-ignore "html$$" $(GENDIR) -x rm
2024-05-20 07:40:03 +00:00
build-book: build-to-html
2024-05-17 06:49:10 +00:00
mdbook build html
2024-05-20 07:40:03 +00:00
refresh-book: build-to-html
mdbook serve html
deploy: build-book
2024-05-30 21:54:04 +00:00
rsync -azr html/book/ root@veil:/home/blogDeploy/public/research
2024-05-17 06:49:10 +00:00
2024-06-02 22:13:09 +00:00
.PHONY: build-book build-to-html deploy
# -not \( -path src/CubicalHott -prune \) \