tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/build.sh
changeset 305 436a31d11f1d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/build.sh	Thu Oct 06 11:56:48 2011 +0200
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+# A script to build WebSocketMain.swf and WebSocketMainInsecure.zip.
+
+# 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=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