summary refs log tree commit diff stats
path: root/build/compress.bat
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-07-27 09:07:09 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-07-27 09:07:09 +0200
commita11d1857f1f242199ea330e1679cf55e2771395b (patch)
treec57bdc180418073e25724d93d87491c3fa9c2e45 /build/compress.bat
parentf39d21328603673ee83c55a5d6d55b276cc8bdb8 (diff)
parent69ba67b2549b6c6a46abd19879b67e1545c9ae3b (diff)
Merge with default
Diffstat (limited to 'build/compress.bat')
-rw-r--r--build/compress.bat19
1 files changed, 19 insertions, 0 deletions
diff --git a/build/compress.bat b/build/compress.bat
new file mode 100644
index 00000000..37df1292
--- /dev/null
+++ b/build/compress.bat
@@ -0,0 +1,19 @@
+@echo off
+set OPATH=%PATH% 
+set PATH=c:\mozilla-build\mpress;c:\mozilla-build\upx
+cd ..\tmp
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+upx xchat.exe
+cd lib\enchant
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+:: gtk-2.0\2.10.0\engines is already packed, skip it
+cd ..\gtk-2.0\modules
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+cd ..\..\..\plugins
+for %%A in (*.dll) do upx -9 -q %%A
+for %%A in (*.x64) do mpress -q %%A
+cd ..\..\build
+set PATH=%OPATH%