mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-18 07:59:33 +01:00
18 lines
No EOL
306 B
Bash
Executable file
18 lines
No EOL
306 B
Bash
Executable file
#!/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/ |