mirror of https://github.com/grpc/grpc.git
parent
48423fc843
commit
874aec02b4
4 changed files with 48 additions and 6 deletions
@ -0,0 +1,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 exists %NUGET% ( |
||||
%NUGET% restore vsprojects/grpc.sln || goto :error |
||||
) |
||||
|
||||
endlocal |
||||
|
||||
goto :EOF |
||||
|
||||
:error |
||||
echo Failed! |
||||
exit /b %errorlevel% |
@ -0,0 +1,22 @@ |
||||
@rem Performs nuget restore step for C#. |
||||
|
||||
setlocal |
||||
|
||||
@rem enter repo root |
||||
cd /d %~dp0\..\.. |
||||
|
||||
@rem Location of nuget.exe |
||||
set NUGET=C:\nuget\nuget.exe |
||||
|
||||
if exists %NUGET% ( |
||||
%NUGET% restore vsprojects/grpc_csharp_ext.sln || goto :error |
||||
%NUGET% restore src/csharp/Grpc.sln || goto :error |
||||
) |
||||
|
||||
endlocal |
||||
|
||||
goto :EOF |
||||
|
||||
:error |
||||
echo Failed! |
||||
exit /b %errorlevel% |
Loading…
Reference in new issue