mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-01 16:33:07 +05:30
Updated build.xml to run PHPUnit
This commit is contained in:
parent
7ea3a045cd
commit
983c1faf0a
11
build.xml
11
build.xml
@ -1,10 +1,10 @@
|
|||||||
<?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,phpdox,phpcb"/>
|
<target name="build" depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,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,phpdox,phpcb" />
|
<target name="minimal" depends="prepare,lint,phploc,pdepend,phpcpd,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">
|
||||||
@ -109,6 +109,13 @@
|
|||||||
<arg path="${basedir}/src" />
|
<arg path="${basedir}/src" />
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="phpunit" description="Run unit tests with PHPUnit">
|
||||||
|
<exec executable="phpunit" failonerror="true">
|
||||||
|
<arg value="--configuration" />
|
||||||
|
<arg value="${basedir}/build/phpunit.xml" />
|
||||||
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="phpdox" description="Generate API documentation using phpDox">
|
<target name="phpdox" description="Generate API documentation using phpDox">
|
||||||
<exec executable="phpdox"/>
|
<exec executable="phpdox"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user