blob: 8f32185b61f423fdaec5cbc8317a6dd3558e0cee (
plain)
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
|
#!/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
|