-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.xml
27 lines (24 loc) · 1.03 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
<project name="WebinosHealthHub" basedir="." default="main">
<property name="build.dir" value="."/>
<property name="widget.file" value="WebinosHealtHhub"/>
<property name="src.dir" value="js"/>
<property name="css.dir" value="css"/>
<property name="assets.dir" value="assets"/>
<target name="clean">
<delete file="${build.dir}/${widget.file}.wgt" />
</target>
<target name="build">
<zip destfile="${widget.file}.zip" encoding="UTF-8">
<fileset dir="${basedir}">
<include name="${css.dir}/**"/>
<include name="${src.dir}/**"/>
<include name="${assets.dir}/**"/>
<include name="index.html"/>
<include name="config.xml"/>
<include name="healthHub.png"/>
</fileset>
</zip>
<move file="${basedir}/${widget.file}.zip" tofile="${basedir}/${widget.file}.wgt"/>
</target>
<target name="main" depends="clean,build"/>
</project>