Files
harmony/build/book.sh
Jean-Gabriel Gill-Couture 907ae04195
Some checks failed
Run Check Script / check (pull_request) Failing after 9s
chore: Add book.sh script and ci.sh, moved check.sh to build/ folder
2026-03-19 22:43:32 -04:00

12 lines
364 B
Bash
Executable File

#!/bin/sh
set -e
cd "$(dirname "$0")/.."
cargo install mdbook --locked
mdbook build
test -f book/index.html || (echo "ERROR: book/index.html not found" && exit 1)
test -f book/concepts.html || (echo "ERROR: book/concepts.html not found" && exit 1)
test -f book/guides/getting-started.html || (echo "ERROR: book/guides/getting-started.html not found" && exit 1)