-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
50 lines (40 loc) · 1.64 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="PHP Doc" basedir="." default="build">
<property file="build.properties"/>
<!-- loading local properties file -->
<available file="${local.properties}" property="local.exists" value="1"/>
<if>
<equals arg1="${local.exists}" arg2="1"/>
<then>
<property file="${local.properties}" override="true"/>
</then>
</if>
<target name="up">
<echo msg="Updating repository"/>
<exec command="${scripts.svn_up}" dir="." logoutput="true" checkreturn="true" />
</target>
<target name="revcheck">
<echo msg="Generating revcheck.html"/>
<exec command="${scripts.revcheck} --show-uptodate > ${files.revcheck_output}" dir="." logoutput="true" checkreturn="true" />
</target>
<target name="reviewedcheck">
<echo msg="Generating reviewedcheck.html"/>
<exec command="${scripts.reviewedcheck} > ${files.reviewedcheck_output}" dir="." logoutput="true" checkreturn="true" />
</target>
<target name="markup_check">
<echo msg="Checking markup"/>
<exec command="${scripts.markup_check}" dir="." logoutput="true" checkreturn="true" />
</target>
<target name="lint">
<echo msg="xmllint"/>
<exec command="${scripts.xmllint}" dir="." logoutput="true" checkreturn="true" />
</target>
<target name="build" depends="markup_check,revcheck,reviewedcheck">
<echo msg="Building manual"/>
<exec command="${scripts.build}" dir="." passthru="true" logoutput="true" checkreturn="true" />
</target>
<target name="generate" depends="build">
<echo msg="Generating local mirror"/>
<exec command="${scripts.generate}" dir="." passthru="true" logoutput="true" checkreturn="true" />
</target>
</project>