|
7 | 7 | <property file="./sdk.local.properties"/> |
8 | 8 | <property file="./build.properties"/> |
9 | 9 | <!-- inherit SDK properties from the root of the repository --> |
| 10 | + <property file="../../sdk.local.properties"/> |
10 | 11 | <property file="../../sdk.properties"/> |
11 | | - |
12 | | - <fail unless="ios.provision.path"/> |
13 | | - <fail unless="ios.certificate.path"/> |
14 | | - <fail unless="ios.certificate.password"/> |
15 | | - |
16 | | - <fail unless="android.certificate.path"/> |
17 | | - <fail unless="android.certificate.password"/> |
18 | 12 |
|
19 | 13 | <target name="build" depends="build-web,build-android,build-ios"/> |
20 | 14 |
|
|
52 | 46 | <arg value="-output=${output.path}/StackScreenNavigatorExplorer.swf"/> |
53 | 47 | </java> |
54 | 48 | </target> |
55 | | - <target name="build-ios" depends="build-air-swf"> |
| 49 | + <target name="-check-ios-properties"> |
| 50 | + <fail unless="ios.provision.path"/> |
| 51 | + <fail unless="ios.certificate.path"/> |
| 52 | + <fail unless="ios.certificate.password"/> |
| 53 | + </target> |
| 54 | + <target name="build-ios" depends="-check-ios-properties,build-air-swf"> |
56 | 55 | <echo message="Packaging StackScreenNavigatorExplorer.ipa"/> |
57 | 56 | <java jar="${adt}" dir="${basedir}" fork="true" failonerror="true"> |
58 | 57 | <arg value="-package"/> |
|
97 | 96 | <arg value="StackScreenNavigatorExplorer.swf"/> |
98 | 97 | </java> |
99 | 98 | </target> |
100 | | - <target name="build-android" depends="build-air-swf"> |
| 99 | + <target name="-check-android-properties"> |
| 100 | + <fail unless="android.certificate.path"/> |
| 101 | + <fail unless="android.certificate.password"/> |
| 102 | + </target> |
| 103 | + <target name="build-android" depends="-check-android-properties,build-air-swf"> |
101 | 104 | <echo message="Packaging StackScreenNavigatorExplorer.apk"/> |
102 | 105 | <java jar="${adt}" dir="${basedir}" fork="true" failonerror="true"> |
103 | 106 | <arg value="-package"/> |
|
0 commit comments