forked from jakewins/Neo4j.php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
51 lines (46 loc) · 1.66 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<project name="neo4j.php"
description="Neo4j REST client for PHP."
default="test"
basedir=".">
<!-- Properties are variables for this build file. -->
<property name="package" value="${phing.project.name}" override="true" />
<property name="builddir" value="." override="true" />
<property name="srcdir" value="${project.basedir}" override="true" />
<target name="test"
description="Run all PHPUnit tests.">
<phpunit haltonfailure="true" haltonerror="true">
<formatter type="plain" usefile="false"/>
<batchtest>
<fileset dir="tests">
<include name="*Test.php"/>
</fileset>
</batchtest>
</phpunit>
</target>
<target name="docs"
description="Generate API documentation in docs/, using phpdoc.">
<phpdoc
title="NeoRest API documentation"
destdir="docs"
output="HTML:frames:earthli"
sourcecode="true"
parseprivate="true"
javadocdesc="false"
quiet="true"
defaultpackagename="NeoRest"
packageoutput="NeoRest"
pear="false">
<fileset dir="tutorials">
<include name="NeoRest/**" />
</fileset>
<fileset dir=".">
<include name="Neo4j/*.php" />
<include name="Neo4j.php" />
</fileset>
<projdocfileset dir=".">
<include name="README.md" />
<include name="examples/demo.php" />
</projdocfileset>
</phpdoc>
</target>
</project>