Skip to content

Commit 9785183

Browse files
committedJul 6, 2011
build.xml added
1 parent c2d0174 commit 9785183

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
 

‎build.xml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<project name="Ogone" default="build" basedir=".">
2+
<target name="clean">
3+
<delete dir="build"/>
4+
</target>
5+
6+
<target name="prepare">
7+
<mkdir dir="build/logs"/>
8+
<mkdir dir="build/logs/testdox"/>
9+
<mkdir dir="build/coverage"/>
10+
</target>
11+
12+
<target name="unittest" depends="clean, prepare" description="Run unit tests" >
13+
<exec executable="phpunit" failonerror="true">
14+
</exec>
15+
</target>
16+
17+
<target name="phpcs">
18+
<exec executable="phpcs">
19+
<arg value="--standard=ZEND"/>
20+
<arg value="--report=checkstyle"/>
21+
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml"/>
22+
<arg value="lib"/>
23+
</exec>
24+
</target>
25+
26+
<!-- <target name="documentation">
27+
<exec dir="doc/" executable="make" failonerror="true">
28+
<arg value="html"/>
29+
</exec>
30+
</target> -->
31+
32+
<target name="build" depends="unittest, phpcs">
33+
</target>
34+
</project>

0 commit comments

Comments
 (0)
Please sign in to comment.