Explorar o código

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 <unicorn_wang@outlook.com>
Chen Wang hai 11 meses
pai
achega
5b6944f7fa
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      documentation/run.sh

+ 6 - 0
documentation/run.sh

@@ -3,6 +3,12 @@
 rm -rf ./html
 rm -rf ./html
 
 
 doxygen
 doxygen
+if [ $? -ne 0 ]; then
+    echo ""
+    echo "OOPS: Something error/warning occurred during Doxygen building, please check it out!"
+    echo ""
+    exit 1
+fi
 
 
 pushd html
 pushd html
 python3 -m http.server
 python3 -m http.server