We don't need build.sh anymore

This commit is contained in:
Steve Klabnik 2020-05-22 23:48:48 -05:00
parent 201e91019d
commit e2108334d4
1 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
#!/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
echo 'Checking for broken links...'
rustup toolchain install nightly -c rust-docs --profile=minimal
curl -sSLo linkcheck.sh \
https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
# Cannot use --all here because of the generated redirect pages aren't available.
sh linkcheck.sh book