File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 3
3
4
4
<property file =" build.properties" />
5
5
6
+ <target name =" clean" description =" Clean build path" >
7
+ <delete dir =" ${ project.basedir } /build" />
8
+ <mkdir dir =" ${ project.basedir } /build" />
9
+ <mkdir dir =" ${ project.basedir } /build/coverage" />
10
+ <mkdir dir =" ${ project.basedir } /build/docs" />
11
+ </target >
12
+
6
13
<target name =" phpunit" description =" Running unit tests" >
7
14
<exec
8
15
passthru =" ${ passthru } "
9
16
dir =" ${ project.basedir } "
10
- command=" phpunit" />
17
+ command =" phpunit" />
11
18
</target >
12
19
13
20
<target name =" php-cs-fixer" description =" PHP Codings Standards fixer" >
14
21
<exec
15
22
passthru =" ${ passthru } "
16
- command =" php-cs-fixer --verbose fix library/ " />
23
+ command =" php-cs-fixer --verbose fix" />
17
24
</target >
18
25
19
26
<target name =" phpdoc" description =" Generate API documentation" >
20
27
<exec
21
28
passthru =" ${ passthru } "
22
29
command =" phpdoc
23
- -d ${ project.basedir } /library
24
- -t ${ project.basedir } /docs
25
- --title='PHP Domain Parser'
26
- --defaultpackagename='Pdp'
27
- --force" />
30
+ -d ${ project.basedir } /src
31
+ -t ${ project.basedir } /build/docs
32
+ --title='PHP Domain Parser'
33
+ --defaultpackagename='Pdp'
34
+ --template='responsive-twig'
35
+ --force" />
28
36
</target >
29
-
37
+
30
38
<target name =" build" description =" Build app" >
39
+ <phingCall target =" clean" />
31
40
<phingCall target =" php-cs-fixer" />
32
41
<phingCall target =" phpunit" />
33
42
<phingCall target =" phpdoc" />
You can’t perform that action at this time.
0 commit comments