- 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)?
if DEFINED CI (set Desktop=false) else if DEFINED TEAMCITY_VERSION (set Desktop=false) else (set Desktop=true)
pushd %~dp0
if "%1" == "" goto BuildDefaults
MSBuild "%~dp0Runtime.msbuild" /m /nr:false /p:Platform="Any CPU" /p:Desktop=%Desktop% /v:M ^
@ -91,11 +92,13 @@ goto BuildSuccess
:BuildFail
echo.
echo *** BUILD FAILED ***
popd
endlocal
exit /B 999
:BuildSuccess
echo.
echo **** BUILD SUCCESSFUL ***
popd
endlocal
exit /B 0