-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.command
More file actions
executable file
·41 lines (31 loc) · 810 Bytes
/
build.command
File metadata and controls
executable file
·41 lines (31 loc) · 810 Bytes
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
#!/bin/bash
# set for debug
# set -xv
TARGET=MacOSFullScreen
rm -f $TARGET
# FLEX_SDK=/Users/booster/Documents/Flash/airsdk_17
FLEX_SDK=/Users/xtendx/Workspace/Alex/SDK/Flex4.14_AIR17_FP17
ADT=$FLEX_SDK/bin/adt
echo $FLEX_SDK
echo $ADT
rm -rf build
mkdir -p build/mac
cp -r MacOS-x86/Output/$TARGET/Build/Products/Release/$TARGET.framework build/mac
cp as3-library/MacOS-x86/extension.xml build
cp as3-library/MacOS-x86/bin/$TARGET.swc build
unzip -o -q build/$TARGET.swc library.swf
mv library.swf build/mac
"$ADT" -package \
-target ane $TARGET.ane build/extension.xml \
-swc build/$TARGET.swc \
-platform MacOS-x86 \
-C build/mac .
# library.swf libIOSMightyLib.a
# -platformoptions platformoptions.xml
if [ -f ./$TARGET.ane ];
then
echo "SUCCESS"
rm -rf build
else
echo "FAILED"
fi