[ticket/14805] Ignore platform requirements while building packages

PHPBB3-14805
This commit is contained in:
Marc Alexander 2016-10-01 16:46:48 +01:00
parent f1eda6868f
commit 047c7375a5
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -49,7 +49,7 @@
--> -->
<target name="composer"> <target name="composer">
<exec dir="phpBB" <exec dir="phpBB"
command="php ../composer.phar install" command="php ../composer.phar install --ignore-platform-reqs"
checkreturn="true" checkreturn="true"
passthru="true" /> passthru="true" />
</target> </target>
@ -270,7 +270,7 @@
command="git archive ${revision} composer.phar | tar -xf - -C ${dir}" command="git archive ${revision} composer.phar | tar -xf - -C ${dir}"
checkreturn="true" /> checkreturn="true" />
<exec dir="${dir}" <exec dir="${dir}"
command="php composer.phar install --no-dev --optimize-autoloader" command="php composer.phar install --no-dev --optimize-autoloader --ignore-platform-reqs"
checkreturn="true" checkreturn="true"
passthru="true" /> passthru="true" />
<delete file="${dir}/composer.phar" /> <delete file="${dir}/composer.phar" />