-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.xml
31 lines (29 loc) · 1.02 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Ghostscript" default="test">
<property name="build.path" value="."/>
<property name="phpunit.binary" value="vendor/bin/phpunit"/>
<property name="sami.binary" value="vendor/bin/sami.php"/>
<property name="sami.config" value="sami-config.php"/>
<target name="test" description="Testing">
<exec
executable="${phpunit.binary}"
dir="${build.path}"
passthru="true"
checkreturn="false">
<arg value="--coverage-clover=coverage.clover"/>
<arg value="--coverage-text"/>
<arg value="--verbose"/>
</exec>
</target>
<target name="doc" description="Generating documentation">
<exec
executable="${sami.binary}"
dir="${build.path}"
passthru="true"
checkreturn="false">
<arg value="update"/>
<arg value="--verbose"/>
<arg value="${sami.config}"/>
</exec>
</target>
</project>