PageRenderTime 36ms CodeModel.GetById 32ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/flash-src/build.sh

http://github.com/gimite/web-socket-js
Shell | 25 lines | 15 code | 6 blank | 4 comment | 0 complexity | 5b90061b6190d2d03c82ec995a52d7ab MD5 | raw file
 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
 8mxmlc \
 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
15mxmlc \
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
22cd .. &&
23
24zip WebSocketMainInsecure.zip WebSocketMainInsecure.swf &&
25rm WebSocketMainInsecure.swf