File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
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 >
You can’t perform that action at this time.
0 commit comments