/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/build.sh

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs · Shell · 10 lines · 5 code · 2 blank · 3 comment · 0 complexity · b8e15e28bac1dd94826e3df580a7432c MD5 · raw file

  1. #!/bin/sh
  2. # You need Flex 4 SDK:
  3. # http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
  4. mxmlc -static-link-runtime-shared-libraries -target-player=10.0.0 -output=../WebSocketMain.swf WebSocketMain.as &&
  5. mxmlc -static-link-runtime-shared-libraries -output=../WebSocketMainInsecure.swf WebSocketMainInsecure.as &&
  6. cd .. &&
  7. zip WebSocketMainInsecure.zip WebSocketMainInsecure.swf &&
  8. rm WebSocketMainInsecure.swf