27 lines
504 B
Makefile
27 lines
504 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
|
|
|
|
# Delete build artifacts (./book)
|
|
clean:
|
|
mdbook clean
|
|
|
|
# Run mdbook's tests (validates code samples)
|
|
test:
|
|
mdbook test
|
|
|
|
# Rebuild from scratch
|
|
rebuild: clean build
|