aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/pre_build_c.bat
blob: f0449f3c424af08e7a2c01ed2f215fc4033db451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@rem Performs nuget restore step for C/C++.

setlocal

@rem enter repo root
cd /d %~dp0\..\..

@rem Location of nuget.exe
set NUGET=C:\nuget\nuget.exe

if exist %NUGET% (
  %NUGET% restore vsprojects/grpc.sln || goto :error
)

endlocal

goto :EOF

:error
echo Failed!
exit /b %errorlevel%