forked from NetEase/Emmagee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
emmagee.xml
83 lines (60 loc) · 1.62 KB
/
emmagee.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
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
83
<?xml version="1.0" encoding="UTF-8"?>
<project
name="build apk file"
default="clean" >
<!-- set the operating system test properties -->
<condition property="is Unix and Unix-like" >
<os family="unix" />
</condition>
<condition property="isWindows" >
<os family="windows" />
</condition>
<target
name="unix_update_project"
if="is Unix and Unix-like" >
<exec
executable="android"
failonerror="true" >
<arg line="update project -n Emmagee -p ." />
</exec>
</target>
<target
name="unix_debug"
depends="unix_update_project"
if="is Unix and Unix-like" >
<exec
executable="ant"
failonerror="true" >
<arg line="debug" />
</exec>
</target>
<target
name="win_update_project"
if="isWindows" >
<exec
executable="cmd"
failonerror="true" >
<arg line="/C android update project -n Emmagee -p ." />
</exec>
</target>
<target
name="win_debug"
depends="win_update_project"
if="isWindows" >
<exec
executable="cmd"
failonerror="true" >
<arg line="/C ant debug" />
</exec>
</target>
<target
name="clean"
depends="win_debug,unix_debug" >
<delete includeEmptyDirs="true" >
<fileset dir="./bin" >
<exclude name="*.apk" />
<exclude name="AndroidManifest.xml" />
</fileset>
</delete>
</target>
</project>