summaryrefslogtreecommitdiff
path: root/bin/buildForWindows.sh
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2012-11-15 15:16:12 +0100
committerMarcel Klehr <mklehr@gmx.net>2012-11-15 15:16:12 +0100
commitfcee203a1a6ad09899494bb88b384fb42f1adade (patch)
treef840f3adfec4d27ec41a31f3972d7f791a138daa /bin/buildForWindows.sh
parent3944517aff7e2712abe8c1a6ebee588e2017f4e1 (diff)
downloadetherpad-lite-fcee203a1a6ad09899494bb88b384fb42f1adade.zip
Dont include git history in the windows .zip
git history is located in .git/objects
Diffstat (limited to 'bin/buildForWindows.sh')
-rwxr-xr-xbin/buildForWindows.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/buildForWindows.sh b/bin/buildForWindows.sh
index 1d47bff1..2f906238 100755
--- a/bin/buildForWindows.sh
+++ b/bin/buildForWindows.sh
@@ -52,6 +52,9 @@ echo "download windows node..."
cd bin
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 "create the zip..."
cd /tmp
zip -9 -r etherpad-lite-win.zip etherpad-lite-win