-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.eant
82 lines (65 loc) · 2.04 KB
/
build.eant
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0"?>
<project name="log4e" default="help">
<description>
description: "Eiffel Ant file for Goanna Log4e"
project: "Goanna [http://sourceforge.net/projects/goanna]"
library: "log4e"
author: "Glenn Maughan [mailto:[email protected]]"
copyright: "Copyright (c) 2002, Glenn Maughan"
license: "Eiffel Freeware License v1 (see forum.txt)"
date: "$Date$"
revision: "$Revision$"
</description>
<target name="help">
<echo message="usage:"/>
<echo message=" geant install"/>
<echo message=" geant dist"/>
<echo message=" geant clean"/>
<echo message=" geant clobber"/>
</target>
<target name="install" depend="init">
<description>
Install the Goanna Log4e package.
</description>
<geant file="build.eant" target="install" dir="examples"/>
<geant file="build.eant" target="install" dir="test"/>
<geant file="build.eant" target="clobber" dir="test/all"/>
</target>
<target name="clean" depend="init">
<description>
Remove intermediary generated files.
</description>
<geant file="build.eant" target="clean" dir="examples"/>
<geant file="build.eant" target="clean" dir="test"/>
<geant file="build.eant" target="clobber" dir="test/all"/>
</target>
<target name="clobber" depend="init">
<description>
Remove all generated files.
</description>
<geant file="build.eant" target="clobber" dir="examples"/>
<geant file="build.eant" target="clobber" dir="test"/>
<geant file="build.eant" target="clobber" dir="test/all"/>
</target>
<target name="dist" depend="init">
<description>
Generate distribution package.
</description>
<geant target="install"/>
<geant target="clean"/>
</target>
<!-- Implementation -->
<target name="init">
<geant target="init_os"/>
</target>
<target name="init_os">
<geant target="init_windows"/>
<geant target="init_unix"/>
</target>
<target name="init_windows" if="${GOBO_OS}=windows">
<set name="exe" value=".exe"/>
</target>
<target name="init_unix" unless="${GOBO_OS}=windows">
<set name="exe" value=""/>
</target>
</project>