-
Notifications
You must be signed in to change notification settings - Fork 163
/
build.xml
42 lines (33 loc) · 1005 Bytes
/
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
42
<?xml version="1.0" encoding="utf-8"?>
<project default="dist" name="XBee-Arduino">
<property file="build.properties"/>
<property name="dist.dir" value="dist"/>
<property name="release" value="0.6.0"/>
<target name="init">
<mkdir dir="${dist.dir}/XBee"/>
</target>
<!-- TODO add doxygen doc generation -->
<target name="dist" depends="init">
<copy todir="${dist.dir}/XBee">
<fileset dir=".">
<include name="XBee.h"/>
<include name="XBee.cpp"/>
<include name="keywords.txt"/>
<include name="COPYING"/>
</fileset>
</copy>
<copy todir="${dist.dir}/XBee/examples">
<fileset dir="examples">
<exclude name="svn*"/>
<exclude name="**/applet/**"/>
<exclude name=".DS_Store"/>
</fileset>
</copy>
<zip basedir="${dist.dir}" destfile="xbee-arduino-${release}.zip"/>
</target>
<target name="clean">
<delete includeEmptyDirs="yes" failonerror="no">
<fileset dir="${dist.dir}" includes="**/*"/>
</delete>
</target>
</project>