Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Add composer step to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed May 11, 2016
1 parent 8280deb commit 6b7878e
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions dist/phing/build-pydio.xml
Expand Up @@ -141,12 +141,19 @@
<property name="passed_directory" value="${INNER_DIRECTORY}"/>
</phingcall>

<!-- RUN COMPOSER IF NECESSARY -->
<if>
<available type="file" file="${INNER_DIRECTORY}/core/composer.json"/>
<then>
<composer command="install" composer="/home/builder/composer.phar">
<arg value="--optimize-autoloader" />
<arg value="--working-dir" />
<arg path="${INNER_DIRECTORY}" />
</composer>
</then>
</if>

<!-- BUILD JAVASCRIPT -->
<!--
<exec command="npm install" dir="${INNER_DIRECTORY}/plugins/gui.ajax" passthru="true"/>
<exec command="grunt" dir="${INNER_DIRECTORY}/plugins/gui.ajax" passthru="true"/>
<delete dir="${INNER_DIRECTORY}/plugins/gui.ajax/node_modules"/>
-->
<phingcall target="iterate-plugins">
<property name="plugins_dir" value="${INNER_DIRECTORY}/plugins"/>
<property name="target" value="grunt"/>
Expand Down

0 comments on commit 6b7878e

Please sign in to comment.