From 73d7fab85f1c4452a266c376339c2b36d5fdd6a6 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch <jtattermusch@google.com> Date: Fri, 15 May 2015 16:16:55 -0700 Subject: [PATCH] some nuget packaging adjustments --- src/csharp/Grpc.nuspec | 2 +- src/csharp/build_packages.bat | 8 +++++++- vsprojects/nuget_package/buildall.bat | 1 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/csharp/Grpc.nuspec b/src/csharp/Grpc.nuspec index 1daff491af..e3195e1806 100644 --- a/src/csharp/Grpc.nuspec +++ b/src/csharp/Grpc.nuspec @@ -2,7 +2,7 @@ <package> <metadata> <id>Grpc</id> - <title>gRPC</title> + <title>gRPC C#</title> <summary>C# implementation of gRPC - an RPC library and framework</summary> <description>C# implementation of gRPC - an RPC library and framework. See project site for more info.</description> <version>0.5.0</version> diff --git a/src/csharp/build_packages.bat b/src/csharp/build_packages.bat index fab80b0e08..fe7e0a495f 100644 --- a/src/csharp/build_packages.bat +++ b/src/csharp/build_packages.bat @@ -1,10 +1,16 @@ -@rem Builds NuGet packages +@rem Builds gRPC NuGet packages @rem Adjust the location of nuget.exe set NUGET=C:\nuget\nuget.exe +setlocal +cd ..\..\vsprojects\nuget_package @call buildall.bat || goto :error +endlocal +@call buildall.bat || goto :error + +%NUGET% pack ..\..\vsprojects\nuget_package\grpc.native.csharp_ext.nuspec || goto :error %NUGET% pack Grpc.Core\Grpc.Core.nuspec || goto :error %NUGET% pack Grpc.Auth\Grpc.Auth.nuspec || goto :error %NUGET% pack Grpc.nuspec || goto :error diff --git a/vsprojects/nuget_package/buildall.bat b/vsprojects/nuget_package/buildall.bat index 837eef0f6a..f94b1487e2 100644 --- a/vsprojects/nuget_package/buildall.bat +++ b/vsprojects/nuget_package/buildall.bat @@ -1,5 +1,4 @@ @echo off -setlocal REM setlocal REM call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64 -- GitLab