This repository has been archived by the owner on Apr 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 215
/
nightly.xml
44 lines (40 loc) · 1.55 KB
/
nightly.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
43
44
<project name="Lire-Nightly-Builds" default="nightly" basedir=".">
<description>
This buildfile is used to create a nightly build of Lire.
- Mathias Lux, Klagenfurt 2015-11-17
http://www.SemanticMetadata.net
</description>
<property name="build" value="nightly"/>
<target name="init">
<tstamp>
<format property="touch.time" pattern="dd.MM.yyyy hh:mm aa"/>
<format property="build.time" pattern="yyyy-MM-dd"/>
</tstamp>
<delete dir="${build}"/>
<mkdir dir="${build}"/>
</target>
<target name="nightly" depends="init">
<!-- download & unzip -->
<!--get src="http://caliph-emir.svn.sourceforge.net/viewvc/caliph-emir/lire/?view=tar"
dest="${build}/tmp/lire.tar.gz"/-->
<!--gunzip src="${build}/tmp/lire.tar.gz" dest="${build}/tmp/lire.tar"/-->
<!--untar dest="${build}/tmp" src="${build}/tmp/lire.tar"/-->
<!-- build -->
<ant antfile="build.xml" dir="." target="dist"/>
<ant antfile="build.xml" dir="." target="javadoc"/>
<!-- package -->
<zip destfile="${build}/lire.zip">
<fileset dir="dist">
<include name="lib/**"/>
<include name="lire.jar"/>
</fileset>
</zip>
<move todir="${build}">
<fileset dir="dist/docs">
<include name="api/**"/>
</fileset>
</move>
<!-- clean up -->
<delete dir="dist"/>
</target>
</project>