mirror of
https://github.com/rust-lang/book.git
synced 2026-09-13 16:19:59 -04:00
20 lines
398 B
Bash
Executable File
20 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
export PATH=$PATH:/home/travis/.cargo/bin;
|
|
|
|
echo 'Spellchecking...'
|
|
bash ci/spellcheck.sh list
|
|
echo 'Testing...'
|
|
mdbook test
|
|
echo 'Building...'
|
|
mdbook build
|
|
echo 'Linting for local file paths...'
|
|
cargo run --bin lfp src
|
|
echo 'Validating references'
|
|
for file in src/*.md ; do
|
|
echo Checking references in $file
|
|
cargo run --quiet --bin link2print < $file > /dev/null
|
|
done
|