forked from linkingvision/rapidvms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelwin32.bat
20 lines (16 loc) · 980 Bytes
/
relwin32.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
for /f "tokens=3 usebackq" %%G in (include\config\confver.hpp) do set VE_VER=%%G
echo %VE_VER%
set VE_VER_PHASE=release
mkdir Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%
REM copy dir from client and vecvr
xcopy /y /e client\prj_win32\Win32\Release Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%
xcopy /y /e vecvr\prj_win32\Win32\Release Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%
REM cooy service file
xcopy /y /e output\windows\nssm\win32\nssm.exe Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%
xcopy /y output\windows\gencertificate.bat Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%
xcopy /y output\windows\regservice.bat Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%
xcopy /y output\windows\unregservice.bat Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%
del Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%\*.pdb /f /s /q
del Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%\*.lik /f /s /q
del Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%\*.lib /f /s /q
del Rapidvms-%VE_VER%-win32-%VE_VER_PHASE%\*.exp /f /s /q