Skip to content

Commit

Permalink
Test for unresolved references when compiling the manual
Browse files Browse the repository at this point in the history
  • Loading branch information
wilfwilson committed May 18, 2021
1 parent a1d1085 commit 7f44c98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions release-gap-package
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,14 @@ esac
if [ -f makedoc.g ] ; then
notice "Building GAP package documentation (using makedoc.g)"
run_gap <<GAPInput
LogTo("makedoc.log");
if not IsPackageMarkedForLoading("$PKG", "") then
SetPackagePath("$PKG", ".");
fi;
Read("makedoc.g");
GAPInput
! grep -E "WARNING: non resolved reference" makedoc.log
rm -f makedoc.log
elif [ -f doc/make_doc ] ; then
notice "Building GAP package documentation (using doc/make_doc)"
cd doc && ./make_doc && cd ..
Expand Down

0 comments on commit 7f44c98

Please sign in to comment.