forked from microsoft/BuildXL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
drop.cmd
20 lines (14 loc) · 792 Bytes
/
drop.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
setlocal
set DropVersion=0.100.0-rc3146171
if NOT DEFINED DROP_EXE_LOCATION (
REM Potentiall init.cmd has set the credential provider path to a mapped b-drive. Temporarilly undo this.
set OLD_NUGET_CREDENTIALPROVIDERS_PATH=%NUGET_CREDENTIALPROVIDERS_PATH%
set NUGET_CREDENTIALPROVIDERS_PATH=
%~dp0Shared\Tools\nuget.exe install -OutputDirectory %~dp0Out\SelfHost\Drop -Source "https://pkgs.dev.azure.com/cloudbuild/_packaging/BuildXL.Selfhost/nuget/v3/index.json" Drop.App -Version %DropVersion%
set DROP_EXE_LOCATION=%~dp0Out\SelfHost\Drop\Drop.App.%DropVersion%\lib\net45
REM Restore credential provider path.
set NUGET_CREDENTIALPROVIDERS_PATH=%OLD_NUGET_CREDENTIALPROVIDERS_PATH%
)
%DROP_EXE_LOCATION%\drop.exe %*
endlocal && exit /b 0