ci: validate that all used references are defined (#2032)

ci: validate that all used references are defined
This commit is contained in:
Carol (Nichols || Goulding) 2019-09-30 20:38:12 -04:00 committed by GitHub
commit 627f2678d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

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