]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/zippatch.bat
added tech note about writing unit tests
[wxWidgets.git] / distrib / msw / zippatch.bat
CommitLineData
1c6fb09f
JS
1@echo off
2rem Zip up a patch file
1c6fb09f 3
9ed42c2d
JS
4if "%wxwin%" == "" goto usage
5
6set src=%wxwin%
7set dest=%src%\deliver
8
9Rem Set this to the required wxWindows version
8dafe2c7 10set wxversion=2.3.3
1c6fb09f 11Rem Set this to the required patch version
f6bcfd97 12set version=01
1c6fb09f 13
9ed42c2d
JS
14set patchname=wxWindows-%wxversion%-patch-%version%.zip
15
1c6fb09f
JS
16if "%src" == "" goto usage
17if "%dest" == "" goto usage
9ed42c2d 18echo About to create %dest%\%patchname%
1c6fb09f
JS
19echo From %src
20echo To %dest
1c6fb09f
JS
21echo CTRL-C if this is not correct.
22pause
23
9ed42c2d 24erase /Q /E %dest%\wxWindows-*-patch*.zip
1c6fb09f 25
9ed42c2d 26cd %src%
1c6fb09f
JS
27echo Zipping...
28
9ed42c2d 29zip32 -@ %dest%\%patchname% < %src%\distrib\msw\patch.rsp
1c6fb09f
JS
30echo wxWindows patch archived.
31
32cd %dest
33
34goto end
35
36:usage
9ed42c2d 37echo wxWindows patch distribution.
1c6fb09f
JS
38echo.
39echo Usage: zippatch
9ed42c2d 40echo You must set WXWIN appropriately before calling this script.
1c6fb09f
JS
41
42:end