-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
24 lines (22 loc) · 760 Bytes
/
Copy pathbuild.xml
File metadata and controls
24 lines (22 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="UTF-8"?>
<project name="PHPFIT" default="build" basedir=".">
<property name="log" location="log"/>
<target name="build" depends="simpletest,phpunit,phpcs">
</target>
<target name="phpcs">
<exec executable="phpcs" dir="" output="${log}/checkstyle.xml">
<arg line="--report=checkstyle --standard=ZEND PHPFIT"/>
</exec>
</target>
<target name="phpunit">
<exec executable="phpunit" dir="" failonerror="true">
<arg line="--log-xml ${log}/PHPFIT_phpunit.xml
AllTestPhpUnit tests/AllTestPhpUnit.php" />
</exec>
</target>
<target name="simpletest">
<exec executable="php" dir="" failonerror="true">
<arg line="tests/AllTest.php" />
</exec>
</target>
</project>