-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
24 lines (24 loc) · 1.14 KB
/
build.xml
File metadata and controls
24 lines (24 loc) · 1.14 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
<?xml version="1.0" encoding="UTF-8"?>
<project default="all" name="tlsapp">
<description>Data for TLS</description>
<xmlproperty file="expath-pkg.xml"/>
<property name="project.version" value="${package(version)}"/>
<property name="project.app" value="tls-data"/>
<property name="build.dir" value="build"/>
<!-- Start it -->
<target name="init" description="create build directory">
<tstamp/>
<mkdir dir="${build.dir}"/>
</target>
<!-- Dev build (includes everything unoptimized) -->
<target name="full" depends="init" description="compile source files and translations">
<zip basedir="." destfile="${build.dir}/${project.app}-${project.version}-full.xar" excludes="**/${build.dir}/**, archive/** "/>
</target>
<!-- Release build -->
<target name="deploy" depends="init" description="compile public release build">
<zip basedir="." destfile="${build.dir}/${project.app}-${project.version}.xar" excludes="**/${build.dir}/**, .existdb.json, bower.json.ignores, .yo-rc.json, README.md, **/.git*/**, translations/**, archive/**"/>
</target>
<target name="all" depends="full, deploy">
<tstamp/>
</target>
</project>