forked from opensiddur/opensiddur-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
40 lines (35 loc) · 1.1 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
<project name="opensiddur-client" default="dist" basedir=".">
<description>
Build file for opensiddur-client
</description>
<!-- set global properties for this build -->
<property name="src" location="."/>
<property name="dist" location="dist"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
</target>
<target name="dist"
description="generate the xar distribution" >
<zip destfile="${dist}/opensiddur-client.xar"
>
<fileset dir=".">
<include name="**/*.html"/>
<include name="**/*.css"/>
<include name="**/*.js"/>
<include name="**/*.xml"/>
<include name="**/*.xq?"/>
<include name="**/*.xsl"/>
<include name="img/*"/>
<exclude name="{$dist}/**" />
<exclude name="**/*.xar" />
<exclude name="build.xml"/>
</fileset>
</zip>
</target>
<target name="clean"
description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${dist}"/>
</target>
</project>