Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Jul 12, 2022
1 parent 018749b commit b60b7ac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci/checks/doxygen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# skip if doxygen is not installed
if ! [ -x "$(command -v doxygen)" ]; then
echo -e "warning: doxygen is not installed"
echo -e "warning: Doxygen is not installed"
exit 0
fi

Expand All @@ -15,7 +15,11 @@ function version { echo "$@" | awk -F. '{ printf("%d%03d%03d%03d\n", $1,$2,$3,$4

# doxygen supported version 1.8.20 to 1.9.1
DOXYGEN_VERSION=$(doxygen --version)
echo -e "Doxygen version $DOXYGEN_VERSION"
if [ $(version "$DOXYGEN_VERSION") -lt $(version "1.8.20") ] || [ $(version $DOXYGEN_VERSION) -gt $(version "1.9.1") ]; then
echo -e "Warning: Unsupported Doxygen version $DOXYGEN_VERSION"
echo -e "Expecting Doxygen version from 1.8.20 to 1.9.1"
exit 0
fi

# Run doxygen, ignore missing tag files error
TAG_ERROR1="error: Tag file '.*.tag' does not exist or is not a file. Skipping it..."
Expand Down

0 comments on commit b60b7ac

Please sign in to comment.