diff options
author | johnyma22 <john@mclear.co.uk> | 2012-11-16 20:51:08 +0000 |
---|---|---|
committer | johnyma22 <john@mclear.co.uk> | 2012-11-16 20:51:08 +0000 |
commit | 27c5e8691f41bfcab79f88ba388222f9e8747f71 (patch) | |
tree | 7b7417989a40b8e595c6ca8608e52999d73c368e | |
parent | 1321d9e16f9c51e49aa8d062a721a119d11842f4 (diff) | |
download | etherpad-lite-27c5e8691f41bfcab79f88ba388222f9e8747f71.zip |
mheh, better way of handling the buidl for windows script
-rwxr-xr-x | bin/buildForWindows.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/buildForWindows.sh b/bin/buildForWindows.sh index d80b1c28..27165bfa 100755 --- a/bin/buildForWindows.sh +++ b/bin/buildForWindows.sh @@ -55,12 +55,16 @@ wget "http://nodejs.org/dist/v$NODE_VERSION/node.exe" -O ../node.exe echo "remove git history to reduce folder size" rm -rf .git/objects +echo "remove windows jsdom-nocontextify/test folder" +rm -rf /tmp/etherpad-lite-win/node_modules/ep_etherpad-lite/node_modules/jsdom-nocontextifiy/test/ +rm -rf /tmp/etherpad-lite-win/src/node_modules/jsdom-nocontextifiy/test/ + echo "create the zip..." cd /tmp -zip -9 -r etherpad-lite-win.zip etherpad-lite-win -x "src/node_modules/jsdom-nocontextifiy/test/*" +zip -9 -r etherpad-lite-win.zip etherpad-lite-win mv etherpad-lite-win.zip $START_FOLDER echo "clean up..." -rm -rf /tmp/etherpad-lite-win +# rm -rf /tmp/etherpad-lite-win echo "Finished. You can find the zip in the Etherpad Lite root folder, it's called etherpad-lite-win.zip" |