forked from readium/SDKLauncher-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
37 lines (32 loc) · 1.2 KB
/
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Build file for the Launcher iOS -->
<project name="org.readium.LauncheriOS" default="build.all" basedir=".">
<property name="build.dir" value="${basedir}" />
<property name="project" value="SDKLauncher-iOS.xcodeproj"/>
<property name="target" value="SDKLauncher-iOS"/>
<property name="configuration" value="Release"/>
<!-- this builds Launcher-iOS -->
<target name ="build.all" depends="init" description="Invoke xcodebuild to do a full build" >
<exec executable="xcodebuild" spawn="false" failonerror="true">
<arg value="-project" />
<arg value="${project}" />
<arg value="-target" />
<arg value="${target}" />
<arg value="-configuration" />
<arg value="${configuration}" />
</exec>
</target>
<target name="init" >
</target>
<target name="clean" depends="init" description="Clean the workspace">
<exec executable="xcodebuild" spawn="false" dir="${build.dir}" failonerror="true">
<arg value="-project" />
<arg value="${project}" />
<arg value="-target" />
<arg value="${target}" />
<arg value="-configuration" />
<arg value="${configuration}" />
</exec>
<echo> Cleaned ${xcworkspace} ! </echo>
</target>
</project>