mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-18 17:42:54 +05:30
Added composer install
This commit is contained in:
parent
9aa8f86f3a
commit
095ea72b62
12
build.xml
12
build.xml
@ -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" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user