summaryrefslogtreecommitdiff
path: root/tools/build_scripts/bin15/w_Rebuild_Plugins86.bat
blob: 324082714cff45e426deb0452e206b8239375c2d (plain)
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
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"

call git_update.bat

if exist "Release" rd /Q /S "Release" >nul

if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h"
echo on
pushd ..\build
call make_ver.bat
popd

MsBuild.exe "plugs_vad.sln" /m /t:Rebuild /p:Configuration=Release /p:Platform="Win32" /fileLogger /fileLoggerParameters:LogFile=Logs\plugs_vad.log;errorsonly;warningsonly
set BUILD_STATUS=%ERRORLEVEL%
if %BUILD_STATUS%==0 echo Build success
if not %BUILD_STATUS%==0 goto :Error

call vad.bat

rd /S /Q "Release\Obj"

..\tools\installer_ng_stable\Tools\wget.exe -P Release/Libs -r -np -nd -nH -R html -e robots=off http://www.miranda-ng.org/distr/build/x86/

rem del /F /S /Q "Release\*.pdb"

rem popd

goto :eof

:Error
echo ============================= FAIL! =============================
pause
exit