- oops, needed on TeamCity to find global.json
- left this unconditional, mostly for the odd local build from another folder
This commit is contained in:
Doug Bunting 2023-03-07 16:39:29 -08:00 коммит произвёл GitHub
Родитель 2da072a141
Коммит 6949d439be
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -75,6 +75,7 @@ set "NUGET_PACKAGES=%~dp0packages"
REM Are we running in a local dev environment (not on CI)? REM Are we running in a local dev environment (not on CI)?
if DEFINED CI (set Desktop=false) else if DEFINED TEAMCITY_VERSION (set Desktop=false) else (set Desktop=true) if DEFINED CI (set Desktop=false) else if DEFINED TEAMCITY_VERSION (set Desktop=false) else (set Desktop=true)
pushd %~dp0
if "%1" == "" goto BuildDefaults if "%1" == "" goto BuildDefaults
MSBuild "%~dp0Runtime.msbuild" /m /nr:false /p:Platform="Any CPU" /p:Desktop=%Desktop% /v:M ^ MSBuild "%~dp0Runtime.msbuild" /m /nr:false /p:Platform="Any CPU" /p:Desktop=%Desktop% /v:M ^
@ -91,11 +92,13 @@ goto BuildSuccess
:BuildFail :BuildFail
echo. echo.
echo *** BUILD FAILED *** echo *** BUILD FAILED ***
popd
endlocal endlocal
exit /B 999 exit /B 999
:BuildSuccess :BuildSuccess
echo. echo.
echo **** BUILD SUCCESSFUL *** echo **** BUILD SUCCESSFUL ***
popd
endlocal endlocal
exit /B 0 exit /B 0