Files
book/ci/build.sh
Eric Huss cf633ee5b9 Fix tidy error.
Upstream tidy doesn't like the whitespace in `ci/build.sh` (no tabs,
too many newlines).
2019-10-01 08:48:26 -07:00

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