fix gitbook command name for windows

This commit is contained in:
Howard Gao 2015-03-04 21:34:20 +08:00
parent 8041f1f947
commit e178092dcc
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}" />