summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Bateman <simeon@simb.net>2011-02-22 18:16:34 -0800
committerSimeon Bateman <simeon@simb.net>2011-02-22 18:16:34 -0800
commit4439ab0133af11d040a259ac6ce78b3e554253c0 (patch)
tree31ea067b7ebec6c67e4570b2d46c6a014a73ffff
parent5b51f3c78fbb1c99fdeeeb342cedf1cce5cadd9d (diff)
downloadweb-socket-js-4439ab0133af11d040a259ac6ce78b3e554253c0.tar.gz
updated build script to create WebSocket.swc library file
-rwxr-xr-xflash-src/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/flash-src/build.sh b/flash-src/build.sh
index 32fa6b3..80307ab 100755
--- a/flash-src/build.sh
+++ b/flash-src/build.sh
@@ -5,6 +5,9 @@
mxmlc -static-link-runtime-shared-libraries -target-player=10.0.0 -output=../WebSocketMain.swf WebSocketMain.as &&
mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMainInsecure.swf WebSocketMainInsecure.as &&
+compc -source-path . -include-classes WebSocket IWebSocketWrapper -output=../WebSocket.swc &&
cd .. &&
-zip WebSocketMainInsecure.zip WebSocketMainInsecure.swf &&
-rm WebSocketMainInsecure.swf
+zip WebSocketMainInsecure.zip WebSocketMainInsecure.swf WebSocket.swc &&
+rm WebSocketMainInsecure.swf &&
+rm WebSocket.swc
+