build_packages.bat 579 B

1234567891011121314151617181920212223
  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 -Symbols || goto :error
  11. %NUGET% pack Grpc.Auth\Grpc.Auth.nuspec -Symbols || goto :error
  12. %NUGET% pack Grpc.Tools.nuspec || goto :error
  13. %NUGET% pack Grpc.nuspec || goto :error
  14. goto :EOF
  15. :error
  16. echo Failed!
  17. exit /b %errorlevel%