]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
let the doc build fail if rst2html finds errors
authorChristian Weiske <cweiske@cweiske.de>
Thu, 26 May 2011 16:19:35 +0000 (18:19 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 26 May 2011 16:19:35 +0000 (18:19 +0200)
build.xml

index a51bdbbe476ca3ce0c1f3b54f4fe411cde64e6e5..0289c380f75fd6978bd6524f792252fdfac79580 100644 (file)
--- a/build.xml
+++ b/build.xml
     <param value="${fname}"/>
    </php>
    <!--<echo msg="${fname} - ${outfile}"/>-->
-   <exec command="rst2html ${fname} > dist/${outfile}" checkreturn="1"/>
+   <exec
+    command="rst2html --exit-status=2 ${fname} > dist/${outfile}"
+    checkreturn="1"
+    />
   </target>