-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
32 lines (27 loc) · 1.16 KB
/
build.xml
File metadata and controls
32 lines (27 loc) · 1.16 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
<project name="PhpAutoDoc" default="build" basedir=".">
<!-- Update dependencies -->
<target name="update">
<!-- Update PHP packages -->
<exec executable="composer" checkreturn="true" passthru="true">
<arg value="--ansi"/>
<arg value="update"/>
</exec>
<!-- generate automatically generated code -->
<phing phingfile="build.xml" target="code-generation" haltonfailure="true"/>
<!-- Show outdated packages -->
<exec executable="composer" checkreturn="true" passthru="true">
<arg value="--ansi"/>
<arg value="outdated"/>
<arg value="--direct"/>
</exec>
</target>
<target name="code-generation">
<exec command="bin/stratum stratum etc/stratum.ini" checkreturn="true" passthru="true"/>
<exec command="bin/plaisio plaisio:generate-core-event-dispatcher" checkreturn="true" passthru="true"/>
</target>
<!-- Runs all unit tests. -->
<target name="unit">
<exec command="bin/phpunit --bootstrap=test/bootstrap.php test" passthru="true" checkreturn="true"/>
</target>
<target name="build" depends=""/>
</project>