mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
86f0c0a6d5
commit
68710bb55a
1 changed files with 12 additions and 3 deletions
|
@ -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" />
|
||||
|
|
Loading…
Add table
Reference in a new issue