1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-15 22:05:01 -05:00
hexchat/build/release-src.bat
2010-11-13 08:32:47 +01:00

15 lines
511 B
Batchfile

@echo off
set PATH=%PATH%;%PROGRAMW6432%\7-Zip;%PROGRAMW6432%\TortoiseSVN\bin;%PROGRAMFILES(X86)%\TortoiseHg
hg clone https://xchat-wdk.googlecode.com/hg/ xchat-wdk
rmdir /q /s xchat-wdk\.hg
TortoiseProc /closeonend:1 /notempfile /command:export /url:https://xchat.svn.sourceforge.net/svnroot/xchat /path:xchat-wdk-svn
rm xchat-wdk-svn\COPYING
xcopy /E xchat-wdk-svn xchat-wdk
rmdir /q /s xchat-wdk-svn
cd xchat-wdk
patch -i xchat-wdk.patch -p1
cd ..
7z a xchat-wdk-tip.7z xchat-wdk
rmdir /q /s xchat-wdk
pause