forked from Abenity/abenity-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
28 lines (24 loc) · 984 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Abenity API PHP Wrapper" default="phplint" basedir="." description="A PHP class for interacting with the Abenity API">
<property name="basedir" value="${project.basedir}" />
<property name="php_bin_path" value="/usr/bin/" />
<property name="bin_dir" value="/usr/local/bin"/>
<target name="phplint">
<echo msg="Performing phplint for syntax errors..." />
<phplint>
<fileset dir="./examples">
<include name="**/*.php" />
</fileset>
<fileset dir="./lib">
<include name="**/*.php" />
</fileset>
<fileset dir="./tests">
<include name="**/*.php" />
</fileset>
</phplint>
</target>
<target name="phpunit" description="PHP Unit Testing">
<echo msg="Performing PHP Unit Tests..." />
<exec logoutput="true" command="phpunit" />
</target>
</project>