Permalink
Browse files

Skip composer and grunt if required

  • Loading branch information...
1 parent a3a20c1 commit 448fe0e2ad9a0f3cca3c2aecd7d7403da13b6ecb @cdujeu cdujeu committed Sep 14, 2016
Showing with 18 additions and 8 deletions.
  1. +18 −8 dist/phing/build-pydio.xml
@@ -147,16 +147,26 @@
</phingcall>
<!-- RUN COMPOSER IF NECESSARY INSIDE PLUGINS -->
- <phingcall target="iterate-plugins">
- <property name="plugins_dir" value="${INNER_DIRECTORY}/plugins"/>
- <property name="target" value="composer"/>
- </phingcall>
+ <if>
+ <not><isset property="skip-plugins-composer"/></not>
+ <then>
+ <phingcall target="iterate-plugins">
+ <property name="plugins_dir" value="${INNER_DIRECTORY}/plugins"/>
+ <property name="target" value="composer"/>
+ </phingcall>
+ </then>
+ </if>
<!-- BUILD JAVASCRIPT -->
- <phingcall target="iterate-plugins">
- <property name="plugins_dir" value="${INNER_DIRECTORY}/plugins"/>
- <property name="target" value="grunt"/>
- </phingcall>
+ <if>
+ <not><isset property="skip-plugins-grunt"/></not>
+ <then>
+ <phingcall target="iterate-plugins">
+ <property name="plugins_dir" value="${INNER_DIRECTORY}/plugins"/>
+ <property name="target" value="grunt"/>
+ </phingcall>
+ </then>
+ </if>
<!-- DISCRIMINATE PLUGINS -->
<mkdir dir="${build.working_folder}/ext_plugins" />

0 comments on commit 448fe0e

Please sign in to comment.