Files
spark/tools/jenkinsbuild.cmd
T

21 lines
569 B
Batchfile

@setlocal
@echo off
cd %~dp0\..
if not exist build\src\lib\spark_lib.vcxproj (
@call tools\setup_builds.bat
)
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat"
msbuild /m /p:platform=x64 /clp:verbosity=minimal /clp:summary /t:restore spark_client.sln /p:Configuration=release
IF NOT ERRORLEVEL 0 GOTO :ERROR_AND_END
msbuild /m /p:platform=x64 /clp:verbosity=minimal /clp:summary spark_client.sln /p:Configuration=release
IF NOT ERRORLEVEL 0 GOTO :ERROR_AND_END
GOTO :END
:ERROR_AND_END
EXIT /B %ERRORLEVEL%
:END