-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.xml
More file actions
45 lines (40 loc) · 1.69 KB
/
build.xml
File metadata and controls
45 lines (40 loc) · 1.69 KB
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
<project name="TiFlurry" default="dist">
<description>
Ant build script for Titanium modules TiFlurry
</description>
<target name="clean-iphone">
<delete dir="ios/TiFlurry/build" quiet="true"/>
</target>
<target name="clean-android">
<ant dir="android/TiFlurry" target="clean"/>
</target>
<target name="clean" depends="clean-iphone,clean-android">
</target>
<target name="dist-android">
<ant dir="android/TiFlurry"/>
</target>
<target name="dist-iphone">
<exec dir="ios/TiFlurry" executable="python">
<arg value="build.py"/>
</exec>
</target>
<target name="dist" depends="dist-android,dist-iphone">
</target>
<target name="install-android">
<copy file="android/TiFlurry/dist/com.sofisoftwarellc.tiflurry-android-1.0.1.zip" todir="${user.home}/Library/Application Support/Titanium"/>
</target>
<target name="install-iphone">
<copy file="ios/TiFlurry/com.sofisoftwarellc.tiflurry-iphone-1.0.1.zip" todir="${user.home}/Library/Application Support/Titanium"/>
</target>
<target name="install" depends="install-android,install-iphone">
</target>
<target name="package">
<delete file="com.sofisoftwarellc.tiflurry-android-1.0.1-iphone-1.0.1.zip" quiet="true"/>
<delete dir="dist/modules" quiet="true"/>
<copy file="android/TiFlurry/dist/com.sofisoftwarellc.tiflurry-android-1.0.1.zip" todir="dist"/>
<copy file="ios/TiFlurry/com.sofisoftwarellc.tiflurry-iphone-1.0.1.zip" todir="dist"/>
<unzip src="dist/com.sofisoftwarellc.tiflurry-android-1.0.1.zip" dest="dist"/>
<unzip src="dist/com.sofisoftwarellc.tiflurry-iphone-1.0.1.zip" dest="dist"/>
<zip destfile="dist/com.sofisoftwarellc.tiflurry-android-1.0.1-iphone-1.0.1.zip" basedir="dist/modules"/>
</target>
</project>