linux-packaging-mono/msvc/winsetup.bat
Xamarin Public Jenkins (auto-signing) 0b380204a4 Imported Upstream version 6.12.0.86
Former-commit-id: 7a84ce7d08c42c458ac8e74b27186ca863315d79
2020-07-10 08:44:59 +00:00

24 lines
487 B
Batchfile
Executable File

@echo off
setlocal
set BUILD_RESULT=1
:: Get path for current running script.
set RUN_WINSETUP_SCRIPT_PATH=%~dp0
:: Setup VS msbuild environment.
call %RUN_WINSETUP_SCRIPT_PATH%setup-vs-msbuild-env.bat
call "msbuild.exe" /t:RunWinConfigSetup %RUN_WINSETUP_SCRIPT_PATH%mono.winconfig.targets && (
set BUILD_RESULT=0
) || (
set BUILD_RESULT=1
if not %ERRORLEVEL% == 0 (
set BUILD_RESULT=%ERRORLEVEL%
)
)
exit /b %BUILD_RESULT%
@echo on