Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
make sure that the doc build failures get detected
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 1 May 2020 13:01:05 +0000 (15:01 +0200)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Fri, 1 May 2020 13:01:05 +0000 (15:01 +0200)
docs/Build.sh

index 352254b..0bb46f2 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 #
 # Simplistic script to rebuild our documentation with sphinx-build
 
@@ -8,6 +8,7 @@
 if [ -e /opt/simgrid ] ; then chmod +x /opt/simgrid; fi
 
 set -e
+set -o pipefail
 
 if [ "x$1" != 'xdoxy' ] && [ -e build/xml ] ; then
   echo "Doxygen not rerun: 'doxy' was not provided as an argument"