Skip to content

Commit 935af7c

Browse files
NeoZhangJianyualexsin368
authored andcommitted
check error of make html (opea-project#236)
Signed-off-by: alexsin368 <alex.sin@intel.com>
1 parent ba012c6 commit 935af7c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ cd docs
4141
make clean
4242
make html
4343

44+
retval=$?
45+
if [ $retval -ne 0 ]; then
46+
echo "make html is error"
47+
exit 1
48+
else
49+
echo "Done"
50+
fi
51+
4452
if [ ! -d _build/html ]; then
4553
echo "Build online doc is wrong!"
4654
exit 1

0 commit comments

Comments
 (0)