mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
[ticket/11291] phing: Make sure composer is available before calling it.
Older versions of the tree didn't use it. PHPBB3-11291
This commit is contained in:
@@ -162,9 +162,18 @@
|
||||
command="git archive ${revision} | tar -xf - -C ../${dir}"
|
||||
checkreturn="true" />
|
||||
|
||||
<!--
|
||||
Make sure composer is available before calling it.
|
||||
Older versions of the tree didn't use it.
|
||||
-->
|
||||
<if>
|
||||
<available file='${dir}/../composer.phar' type='file' />
|
||||
<then>
|
||||
<exec dir="${dir}"
|
||||
command="php ../composer.phar install"
|
||||
passthru="true" />
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<delete file="${dir}/config.php" />
|
||||
<delete dir="${dir}/develop" />
|
||||
|
Reference in New Issue
Block a user