mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-25 06:47:05 +08:00
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>
14 lines
226 B
Bash
Executable File
14 lines
226 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rm -rf ./html
|
|
|
|
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
|
|
python3 -m http.server |