-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathbuild.xml
More file actions
24 lines (19 loc) · 716 Bytes
/
build.xml
File metadata and controls
24 lines (19 loc) · 716 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"?>
<!DOCTYPE project>
<project name="PayPal_AdaptivePayments_SDK" default="build">
<property name="tests.dir" value="tests"/>
<property name="tests.out.dir" value="tests\reports"/>
<condition property="PHPUNIT_BIN" value="phpunit.bat" else="phpunit">
<os family="windows" />
</condition>
<target name="clean">
<delete dir="${tests.out.dir}" />
</target>
<target name="test">
<mkdir dir="${tests.out.dir}" />
<exec dir="${basedir}" executable="${PHPUNIT_BIN}" failonerror="true">
<arg line="--testdox --include-path lib --log-junit ${tests.out.dir}\phpunit.xml ${tests.dir}" />
</exec>
</target>
<target name="build" depends="clean, test" />
</project>