-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
33 lines (33 loc) · 1.1 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0"?>
<project name="doctrine extensions" default="maintainability" basedir='.'>
<target name="maintainability"
depends="phploc, phpcs, phpcpd, phpmd, phpunit">
</target>
<target name="phploc">
<exec executable="phploc" passthru="true" checkreturn="true">
<arg path="src/"/>
</exec>
</target>
<target name="phpcs">
<exec executable="phpcs" passthru="true" checkreturn="true">
<arg value="-p"/>
<arg value="--standard=PSR2"/>
<arg path="src/"/>
</exec>
</target>
<target name="phpcpd">
<exec executable="phpcpd" passthru="true" checkreturn="true">
<arg path="src/"/>
</exec>
</target>
<target name="phpmd">
<exec executable="phpmd" passthru="true" checkreturn="true">
<arg path="src/"/>
<arg value="text"/>
<arg value="phpmd.xml"/>
</exec>
</target>
<target name="phpunit" description="Run phpunit test">
<exec executable="phpunit" passthru="true" checkreturn="true" />
</target>
</project>