-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
20 lines (20 loc) · 875 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<project default="all" name="xbow">
<description>Shoot arrow (expressions) fast and comfortably</description>
<xmlproperty file="expath-pkg.xml"/>
<property name="project.version" value="${package(version)}"/>
<property name="project.app" value="xbow"/>
<property name="build.dir" value="build"/>
<!-- Start it -->
<target name="init" description="create build directory">
<tstamp/>
<mkdir dir="${build.dir}"/>
</target>
<!-- Release build -->
<target name="deploy" depends="init" description="compile release build">
<zip basedir="." destfile="${build.dir}/${project.app}-${project.version}.xar" excludes="**/${build.dir}/**, .existdb.json, .yo-rc.json, **/node_modules/**, **/reports/**, README.md, **/.git*/**"/>
</target>
<target name="all" depends="deploy">
<tstamp/>
</target>
</project>