Added composer install

This commit is contained in:
Alex Bilbie 2012-08-06 15:57:57 +01:00
parent 9aa8f86f3a
commit 095ea72b62

View File

@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project name="PHP OAuth 2.0 Server" default="build"> <project name="PHP OAuth 2.0 Server" default="build">
<target name="build" depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpdox,phpcb"/>
<target name="build" depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,composer,phpunit,phpdox,phpcb"/>
<target name="build-parallel" depends="prepare,lint,tools-parallel,phpcb"/> <target name="build-parallel" depends="prepare,lint,tools-parallel,phpcb"/>
<target name="minimal" depends="prepare,lint,phploc,pdepend,phpcpd,phpunit,phpdox,phpcb" /> <target name="minimal" depends="prepare,lint,phploc,pdepend,phpcpd,composer,phpunit,phpdox,phpcb" />
<target name="tools-parallel" description="Run tools in parallel"> <target name="tools-parallel" description="Run tools in parallel">
<parallel threadCount="2"> <parallel threadCount="2">
@ -112,6 +113,13 @@
</exec> </exec>
</target> </target>
<target name="composer" description="Install Composer requirements">
<exec executable="composer.phar" failonerror="true">
<arg value="install" />
<arg value="--dev" />
</exec>
</target>
<target name="phpunit" description="Run unit tests with PHPUnit"> <target name="phpunit" description="Run unit tests with PHPUnit">
<exec executable="${basedir}/vendor/bin/phpunit" failonerror="true"> <exec executable="${basedir}/vendor/bin/phpunit" failonerror="true">
<arg value="--configuration" /> <arg value="--configuration" />