rtic/check-book.sh

18 lines
306 B
Bash
Raw Permalink Normal View History

2023-05-05 18:52:14 +02:00
#!/bin/sh
set -e
cd book/en/
mdbook build
cd ../../
cargo doc --features thumbv7-backend
mkdir -p book-target/book/
cp -r book/en/book/ book-target/book/en/
cp LICENSE-* book-target/book/en
cp -r target/doc/ book-target/api/
lychee --offline --format detailed book-target/book/en/
rm -rf book-target/