From f9c88e2df0c34de85208c00af170f502f1d63be3 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Wed, 27 Jul 2011 07:14:34 +0200 Subject: add script for compressing binaries --- build/compress.bat | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 build/compress.bat (limited to 'build/compress.bat') 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% -- cgit 1.4.1