equal
deleted
inserted
replaced
1 #!/bin/sh |
|
2 |
|
3 # A script to build WebSocketMain.swf and WebSocketMainInsecure.zip. |
|
4 |
|
5 # You need Flex 4 SDK: |
|
6 # http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4 |
|
7 |
|
8 mxmlc \ |
|
9 -static-link-runtime-shared-libraries \ |
|
10 -target-player=10.0.0 \ |
|
11 -output=../WebSocketMain.swf \ |
|
12 -source-path=src -source-path=third-party \ |
|
13 src/net/gimite/websocket/WebSocketMain.as && |
|
14 |
|
15 mxmlc \ |
|
16 -static-link-runtime-shared-libraries \ |
|
17 -target-player=10.0.0 \ |
|
18 -output=../WebSocketMainInsecure.swf \ |
|
19 -source-path=src -source-path=third-party \ |
|
20 src/net/gimite/websocket/WebSocketMainInsecure.as && |
|
21 |
|
22 cd .. && |
|
23 |
|
24 zip WebSocketMainInsecure.zip WebSocketMainInsecure.swf && |
|
25 rm WebSocketMainInsecure.swf |
|