let the doc build fail if rst2html finds errors
This commit is contained in:
parent
189449c0d7
commit
b56d604e7e
1 changed files with 4 additions and 1 deletions
|
@ -227,7 +227,10 @@
|
||||||
<param value="${fname}"/>
|
<param value="${fname}"/>
|
||||||
</php>
|
</php>
|
||||||
<!--<echo msg="${fname} - ${outfile}"/>-->
|
<!--<echo msg="${fname} - ${outfile}"/>-->
|
||||||
<exec command="rst2html ${fname} > dist/${outfile}" checkreturn="1"/>
|
<exec
|
||||||
|
command="rst2html --exit-status=2 ${fname} > dist/${outfile}"
|
||||||
|
checkreturn="1"
|
||||||
|
/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue