-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
37 lines (27 loc) · 877 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
<project default="build">
<property name="project.name.base" value="skin.alaska.hd" />
<target name="clean">
<delete dir="dist" />
<delete dir="build" />
</target>
<target name="build" depends="clean">
<fail message="Property "version" needs to be set" unless="version" />
<property name="project.name" value="${project.name.base}-${version}"/>
<property name="zip.file.name" value="${project.name}.zip"/>
<mkdir dir="dist" />
<mkdir dir="build" />
<copy todir="build/${project.name}">
<fileset dir="src" />
</copy>
<copy todir="build/${project.name}/16x10">
<fileset dir="build/${project.name}/16x9">
<exclude name="Includes.xml" />
</fileset>
</copy>
<zip destfile="dist/${zip.file.name}">
<zipfileset dir="build">
<include name="${project.name}**/**" />
</zipfileset>
</zip>
</target>
</project>