5 export PATH
=$PATH:/home
/travis
/.cargo
/bin
;
7 echo 'Spellchecking...'
8 bash ci
/spellcheck.sh list
13 echo 'Linting for local file paths...'
14 cargo run
--bin lfp src
15 echo 'Validating references'
16 for file in src
/*.md
; do
17 echo Checking references
in $file
18 cargo run
--quiet --bin link2print
< $file > /dev
/null
20 echo 'Checking for broken links...'
21 rustup toolchain
install nightly
-c rust-docs
--profile=minimal
22 curl
-sSLo linkcheck.sh \
23 https
://raw.githubusercontent.com
/rust-lang
/rust
/master
/src
/tools
/linkchecker
/linkcheck.sh
24 # Cannot use --all here because of the generated redirect pages aren't available.