forked from marlon-be/marlon-ogone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
34 lines (29 loc) · 989 Bytes
/
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
34
<project name="Ogone" default="build" basedir=".">
<target name="clean">
<delete dir="build"/>
</target>
<target name="prepare">
<mkdir dir="build/logs"/>
<mkdir dir="build/logs/testdox"/>
<mkdir dir="build/coverage"/>
</target>
<target name="unittest" depends="clean, prepare" description="Run unit tests" >
<exec executable="phpunit" failonerror="true">
</exec>
</target>
<target name="phpcs">
<exec executable="phpcs">
<arg value="--standard=ZEND"/>
<arg value="--report=checkstyle"/>
<arg value="--report-file=${basedir}/build/logs/checkstyle.xml"/>
<arg value="lib"/>
</exec>
</target>
<!-- <target name="documentation">
<exec dir="doc/" executable="make" failonerror="true">
<arg value="html"/>
</exec>
</target> -->
<target name="build" depends="unittest, phpcs">
</target>
</project>