forked from jeremykendall/php-domain-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
35 lines (30 loc) · 1.06 KB
/
build.xml
File metadata and controls
35 lines (30 loc) · 1.06 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="PHP Domain Parser" default="build">
<property file="build.properties" />
<target name="phpunit" description="Running unit tests">
<exec
passthru="${passthru}"
dir="${project.basedir}"
command="phpunit" />
</target>
<target name="php-cs-fixer" description="PHP Codings Standards fixer">
<exec
passthru="${passthru}"
command="php-cs-fixer --verbose fix library/" />
</target>
<target name="phpdoc" description="Generate API documentation">
<exec
passthru="${passthru}"
command="phpdoc
-d ${project.basedir}/library
-t ${project.basedir}/docs
--title='PHP Domain Parser'
--defaultpackagename='Pdp'
--force" />
</target>
<target name="build" description="Build app">
<phingCall target="php-cs-fixer" />
<phingCall target="phpunit" />
<phingCall target="phpdoc" />
</target>
</project>