24 lines
512 B
Makefile
24 lines
512 B
Makefile
# Show the available recipes
|
|
default:
|
|
@just --list
|
|
|
|
# Bootstrap the pinned calepin + typst binaries into tools/
|
|
tools:
|
|
./scripts/bootstrap.sh
|
|
|
|
# Compile the site into public/
|
|
build: tools
|
|
./scripts/calepin.sh compile site public
|
|
|
|
# Build, then serve the site locally
|
|
preview: build
|
|
./scripts/calepin.sh serve public
|
|
|
|
# Rebuild on change and serve the result
|
|
watch: tools
|
|
./scripts/calepin.sh watch site public --serve
|
|
|
|
# Remove generated output and build caches
|
|
clean:
|
|
./scripts/clean.sh
|