mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11291] phing: Add checkreturn="true" to all new commands.
PHPBB3-11291
This commit is contained in:
parent
1fc103e3f3
commit
b36050983d
1 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue