-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
42 lines (34 loc) · 1.04 KB
/
build.xml
File metadata and controls
42 lines (34 loc) · 1.04 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
36
37
38
39
40
41
42
<?xml version="1.0"?>
<project name="libliza-php" default="build">
<target name="build"
description="Compile all dependent code">
<!-- nothing yet -->
</target>
<target name="setup"
description="Perform initial repository setup tasks">
<exec dir="${basedir}"
executable="composer"
failonerror="true">
<arg value="install" />
</exec>
<antcall target="build" />
</target>
<!-- standard target in Makefiles -->
<target name="check"
description="Run tests"
depends="diagram-chk" />
<!-- alias for check -->
<target name="test"
description="Run tests"
depends="check" />
<target name="diagram-chk"
description="QA check on diagrams">
<exec executable="build-aux/diagram-chk" />
</target>
<target name="diagram-uml"
description="Build UML diagram">
<exec executable="dia" failonerror="true">
<arg line="-s 1500 -e build/class-uml.png doc/diagrams/class-uml.dia" />
</exec>
</target>
</project>