tweetcast/client/lib/websocket-js/flash-src/build.sh
author Raphael Velt <raph.velt@gmail.com>
Thu, 06 Oct 2011 12:39:29 +0200
changeset 306 70c9688a1486
parent 305 tweetcast/client/lib/gimite-web-socket-js-55ae639/flash-src/build.sh@436a31d11f1d
permissions -rwxr-xr-x
Ajout de l'envoi des anciens tweets

#!/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