mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/11291] phing: Add checkreturn="true" to all new commands.
PHPBB3-11291
This commit is contained in:
@@ -172,14 +172,17 @@
|
|||||||
-->
|
-->
|
||||||
<exec dir="."
|
<exec dir="."
|
||||||
command="git ls-tree ${revision} composer.phar"
|
command="git ls-tree ${revision} composer.phar"
|
||||||
|
checkreturn="true"
|
||||||
outputProperty='composer-ls-tree-output' />
|
outputProperty='composer-ls-tree-output' />
|
||||||
<if>
|
<if>
|
||||||
<not><equals arg1="${composer-ls-tree-output}" arg2="" trim="true" /></not>
|
<not><equals arg1="${composer-ls-tree-output}" arg2="" trim="true" /></not>
|
||||||
<then>
|
<then>
|
||||||
<exec dir="."
|
<exec dir="."
|
||||||
command="git archive ${revision} composer.phar | tar -xf - -C ${dir}" />
|
command="git archive ${revision} composer.phar | tar -xf - -C ${dir}"
|
||||||
|
checkreturn="true" />
|
||||||
<exec dir="${dir}"
|
<exec dir="${dir}"
|
||||||
command="php composer.phar install"
|
command="php composer.phar install"
|
||||||
|
checkreturn="true"
|
||||||
passthru="true" />
|
passthru="true" />
|
||||||
<delete file="${dir}/composer.phar" />
|
<delete file="${dir}/composer.phar" />
|
||||||
</then>
|
</then>
|
||||||
|
Reference in New Issue
Block a user