This closes #141 - gitbook command on windows (build on windows)

This commit is contained in:
Clebert Suconic 2015-03-04 10:00:56 -05:00
commit 40b1f3852e
1 changed files with 5 additions and 2 deletions

View File

@ -119,10 +119,13 @@
<phase>generate-sources</phase>
<configuration>
<target>
<condition property="gitbook.cmd" value="gitbook.cmd" else="gitbook">
<os family="windows"/>
</condition>
<!-- lets generate the gitbook -->
<mkdir dir="${webapp-outdir}/gitbook" />
<echo>executing gitbook</echo>
<exec executable="gitbook">
<echo>executing ${gitbook.cmd}</echo>
<exec executable="${gitbook.cmd}">
<arg value="build" />
<arg value="${basedir}/../docs/user-manual/en" />
<arg value="--output=${webapp-outdir}" />