mirror of https://github.com/rust-lang/book
ci: validate that all used references are defined (#2032)
ci: validate that all used references are defined
This commit is contained in:
commit
627f2678d2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue