ci: validate that all used references are defined

this will catch issues like https://github.com/rust-lang/book/issues/2010
This commit is contained in:
Paul Emmerich 2019-07-14 22:25:04 +02:00
parent 7ddc46460f
commit 38ceba56a8
1 changed files with 6 additions and 0 deletions

View File

@ -19,3 +19,9 @@ 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