build_packages.bat 515 B

12345678910111213141516171819202122
  1. @rem Builds gRPC NuGet packages
  2. @rem Adjust the location of nuget.exe
  3. set NUGET=C:\nuget\nuget.exe
  4. setlocal
  5. cd ..\..\vsprojects\nuget_package
  6. @call buildall.bat || goto :error
  7. endlocal
  8. @call buildall.bat || goto :error
  9. %NUGET% pack ..\..\vsprojects\nuget_package\grpc.native.csharp_ext.nuspec || goto :error
  10. %NUGET% pack Grpc.Core\Grpc.Core.nuspec || goto :error
  11. %NUGET% pack Grpc.Auth\Grpc.Auth.nuspec || goto :error
  12. %NUGET% pack Grpc.nuspec || goto :error
  13. goto :EOF
  14. :error
  15. echo Failed!
  16. exit /b %errorlevel%