-
Notifications
You must be signed in to change notification settings - Fork 19
/
pack.bat
65 lines (54 loc) · 1.41 KB
/
pack.bat
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@ECHO OFF
if "%1" == "" GOTO No_Version
REM We have version
REM Prepare directories
echo.
echo ----------------------------------
echo Preparing directories...
mkdir %1
mkdir "%1\l10n"
mkdir "%1\apis"
mkdir "%1\hlschemes"
mkdir "%1\plugins"
REM Built program
echo.
echo ----------------------------------
echo Copying program binaries...
copy "build\juffed.exe" "%1"
copy "build\libjuff.dll" "%1"
copy "build\libjuffed-engine-*.dll" "%1"
REM localizations, apis, hlschemes
echo.
echo ----------------------------------
echo Copying APIs, l10n, hlschemes...
copy "build\*.qm" "%1\l10n"
copy "apis\*.api" "%1\apis"
copy "hlschemes\*.xml" "%1\hlschemes"
REM plugins
echo.
echo ----------------------------------
echo Copying Plugins...
copy "build\plugins\*.dll" "%1\plugins\"
REM Misc files
echo.
echo ----------------------------------
echo Copying Misc files...
copy Changelog %1
copy COPYING %1
copy win32\cygwin1.dll %1
copy win32\enca.exe %1
REM Qt and QScintilla libs
echo.
echo ----------------------------------
echo Copying Qt libraries...
copy "%QTDIR%\bin\QtCore4.dll" "%1"
copy "%QTDIR%\bin\QtGui4.dll" "%1"
copy %QTDIR%\bin\QtXml4.dll %1
copy %QTDIR%\bin\QtNetwork4.dll %1
copy %QTDIR%\bin\mingwm10.dll %1
copy %QTDIR%\bin\qscintilla2.dll %1
GOTO End
:No_Version
echo No version specified
GOTO End
:End