mirror of
https://github.com/nkbai/book.git
synced 2026-08-19 09:33:29 +08:00
rust-lang/mdbook#789 has been fixed and this was working locally without the `ignore-url`.
20 lines
256 B
Bash
20 lines
256 B
Bash
set -euxo pipefail
|
|
|
|
main() {
|
|
mdbook build
|
|
mdbook test
|
|
|
|
linkchecker book
|
|
|
|
# now check this as a directory of the bookshelf
|
|
rm -rf shelf
|
|
mkdir shelf
|
|
mv book shelf
|
|
linkchecker shelf
|
|
|
|
mv shelf/book .
|
|
rmdir shelf
|
|
}
|
|
|
|
main
|