Files
bleak/justfile
T
2026-07-01 18:56:42 +10:00

31 lines
581 B
Makefile

# bleak — mdbook interface
# Run `just` or `just --list` to see available recipes.
# Show available recipes
default:
@just --list
# Build the book into ./book
build:
cargo install --path crates/mdbook-wordcount
mdbook build
# Serve the book with live reload and open it in a browser
serve:
mdbook serve --open
# Serve without opening a browser (useful over SSH)
watch:
mdbook serve
# Delete build artifacts (./book)
clean:
mdbook clean
# Run mdbook's tests (validates code samples)
test:
mdbook test
# Rebuild from scratch
rebuild: clean build