summaryrefslogtreecommitdiff
path: root/flash-src/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'flash-src/build.sh')
-rwxr-xr-xflash-src/build.sh19
1 files changed, 16 insertions, 3 deletions
diff --git a/flash-src/build.sh b/flash-src/build.sh
index 0fb02a5..8f32185 100755
--- a/flash-src/build.sh
+++ b/flash-src/build.sh
@@ -5,8 +5,21 @@
# You need Flex 4 SDK:
# http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
-mxmlc -static-link-runtime-shared-libraries -target-player=10.0.0 -output=../WebSocketMain.swf -source-path=. net/gimite/websocket/WebSocketMain.as &&
-mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMainInsecure.swf -source-path=. net/gimite/websocket/WebSocketMainInsecure.as &&
+mxmlc \
+ -static-link-runtime-shared-libraries \
+ -target-player=10.0.0 \
+ -output=../WebSocketMain.swf \
+ -source-path=src -source-path=third-party \
+ src/net/gimite/websocket/WebSocketMain.as &&
+
+mxmlc \
+ -static-link-runtime-shared-libraries \
+ -target-player=10.0.0 \
+ -output=../WebSocketMainInsecure.swf \
+ -source-path=src -source-path=third-party \
+ src/net/gimite/websocket/WebSocketMainInsecure.as &&
+
cd .. &&
+
zip WebSocketMainInsecure.zip WebSocketMainInsecure.swf &&
-rm WebSocketMainInsecure.swf
+rm WebSocketMainInsecure.swf