forked from zlibra/haru
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
41 lines (36 loc) · 1.16 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
<?xml version="1.0" encoding="UTF-8" ?>
<project name="Project Build" default="help">
<!-- common action -->
<includepath classpath="${project.basedir}/libs/phing/classes" />
<includepath classpath="${project.basedir}/libs/phingx/classes" />
<includepath classpath="${project.basedir}/libs/phingx/classes/phing" />
<taskdef name="importlist" classname="phing.tasks.ext.ImportListTask" />
<importlist>
<fileset dir="${project.basedir}/build">
<include name="**/*.xml" />
</fileset>
</importlist>
<if>
<and>
<isset property="build.dir.root" />
<available file="${build.dir.root}/targets" />
</and>
<then>
<property name="build.targets.dir.exists" value="true" />
<importlist>
<fileset dir="${build.dir.root}/targets">
<include name="**/*.xml" />
</fileset>
</importlist>
</then>
<else>
<property name="build.targets.dir.exists" value="false" />
</else>
</if>
<!-- common action -->
<target name="init">
<property name="build.tmpldir.root" value="templates/kin" />
<property name="build.tmpldir.build" value="${build.tmpldir.root}/build" />
<exec command="whoami" outputProperty="build.username" />
</target>
</project>