Skip to content

Commit 9841d52

Browse files
Do not package development-time dependencies
1 parent 4f293e6 commit 9841d52

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

build.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,20 @@
7474

7575
<target name="phar"
7676
description="Create PHAR archive of phpcov and all its dependencies"
77-
depends="clean,install-dependencies,phar-build">
78-
<mkdir dir="${basedir}/build/phar"/>
77+
depends="clean,phar-build">
7978
</target>
8079

8180
<target name="phar-build">
8281
<mkdir dir="${basedir}/build/artifacts"/>
8382

83+
<exec executable="${basedir}/tools/composer" taskname="composer">
84+
<arg value="install"/>
85+
<arg value="--no-interaction"/>
86+
<arg value="--no-progress"/>
87+
<arg value="--no-ansi"/>
88+
<arg value="--no-dev"/>
89+
</exec>
90+
8491
<exec executable="bash" outputproperty="version">
8592
<arg value="-c"/>
8693
<arg value="${basedir}/phpcov --version | awk 'BEGIN { ORS = &quot;&quot;; } {print $2}'"/>

0 commit comments

Comments
 (0)