Skip to content

Commit 86a97c0

Browse files
unicornxkurisaW
authored andcommitted
doxygen: More strict checks on build results (#10007)
Github CI doc_doxygen is very strict in checking the build results, and will output failure even if there are warnings. In order to match CI's checks, local build scripts are also checked more strictly to detect potential errors and even warnings as early as possible. Signed-off-by: Chen Wang <[email protected]>
1 parent 1cfcf78 commit 86a97c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

documentation/run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
rm -rf ./html
44

55
doxygen
6+
if [ $? -ne 0 ]; then
7+
echo ""
8+
echo "OOPS: Something error/warning occurred during Doxygen building, please check it out!"
9+
echo ""
10+
exit 1
11+
fi
612

713
pushd html
814
python3 -m http.server

0 commit comments

Comments
 (0)