diff --git a/ci/build.sh b/ci/build.sh index 9ad1781381..d8f966f07e 100644 --- a/ci/build.sh +++ b/ci/build.sh @@ -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 +