Skip to content

Commit

Permalink
Fixed zstackio#367 zstackio#368 zstackio#369, add condition for zstac…
Browse files Browse the repository at this point in the history
…k-network and zstack-distro
  • Loading branch information
tolbkni committed Mar 7, 2018
1 parent 3a19fa8 commit 479019d
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions zstackbuild/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,18 @@
<echo message="successfully build zstack.war at ${war.file}" />
</target>

<target name="build-zstack-network-on-condition" if="${build.zstack.network}">
<antcall target="build-zstack-network" />
</target>

<target name="assemble-zstack-network-on-condition" if="${build.zstack.network}">
<antcall target="assemble-zstack-network" />
</target>

<target name="check-zstack-distro-on-condition" if="${check.zstack.distro}">
<antcall target="check-zstack-distro" />
</target>

<!-- For UI 1.x -->
<target name="build-zstack-dashboard-on-condition" unless="${build.zstack.ui.war}">
<antcall target="build-zstack-dashboard" />
Expand Down Expand Up @@ -276,10 +288,10 @@
<antcall target="build-zstack-vyos"/>
</sequential>
<sequential>
<antcall target="build-zstack-network"/>
<antcall target="build-zstack-network-on-condition"/>
</sequential>
<sequential>
<antcall target="check-zstack-distro"/>
<antcall target="check-zstack-distro-on-condition"/>
</sequential>
</parallel>
</target>
Expand Down Expand Up @@ -353,7 +365,7 @@
<antcall target="assemble-zstack-vyos"/>
</sequential>
<sequential>
<antcall target="assemble-zstack-network"/>
<antcall target="assemble-zstack-network-on-condition"/>
</sequential>
</parallel>

Expand Down

0 comments on commit 479019d

Please sign in to comment.