-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.bat
More file actions
36 lines (21 loc) · 851 Bytes
/
build.bat
File metadata and controls
36 lines (21 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
set PATH=C:\Program Files\Python27;c:\Program Files\TortoiseSVN\bin;%PATH%
RMDIR /S /Q stage
@REM BASE URL is http://svn.zhtoolkit.com/ChineseWordExtractor/tags/release-0_3_1
REM **Make sure to choose the proper tags/release-* directory as the source
TortoiseProc.exe /command:export /path:stage
@REM doesn't work
@REM TortoiseProc.exe /command:dropexport /path:http://svn.zhtoolkit.com/ChineseWordExtractor/tags/release-0_3_1 /droptarget:stage
pause
cd stage
copy ..\Microsoft.VC90.CRT.manifest .\
copy ..\msvcm90.dll .\
copy ..\msvcp90.dll .\
copy ..\msvcr90.dll .\
python exe-setup.py py2exe
chdir dist
del "Chinese Word Extractor.exe"
ren main.exe "Chinese Word Extractor.exe"
cd ..
ren dist "Chinese Word Extractor"
REM Now zip the folder "Chinese Word Extractor", and rename the zip file
pause