Added failure when doc creation fails, and added path to the node that the plugin has installed, this means you don't need node installed on the system to use gitbook
This commit is contained in:
parent
00740b141a
commit
f9538fafd6
|
@ -174,14 +174,16 @@
|
|||
<!-- lets generate the gitbook -->
|
||||
<mkdir dir="${webapp-outdir-user-manual}" />
|
||||
<echo>executing ${gitbook.cmd}</echo>
|
||||
<exec executable="${gitbook.cmd}">
|
||||
<exec executable="${gitbook.cmd}" failonerror="true">
|
||||
<env key="PATH" path="${basedir}/node"/>
|
||||
<arg value="build" />
|
||||
<arg value="${basedir}/../docs/user-manual/en" />
|
||||
<arg value="${webapp-outdir-user-manual}" />
|
||||
</exec>
|
||||
<mkdir dir="${webapp-outdir-hacking-guide}" />
|
||||
<echo>executing ${gitbook.cmd}</echo>
|
||||
<exec executable="${gitbook.cmd}">
|
||||
<exec executable="${gitbook.cmd}" failonerror="true">
|
||||
<env key="PATH" path="${basedir}/node"/>
|
||||
<arg value="build" />
|
||||
<arg value="${basedir}/../docs/hacking-guide/en" />
|
||||
<arg value="${webapp-outdir-hacking-guide}" />
|
||||
|
|
Loading…
Reference in New Issue