diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-06-07 11:18:14 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-06-07 11:18:14 +0200 |
commit | 890717b0870896fbcd4fdb8a0cb424449817d8c4 (patch) | |
tree | f9f1396170d1a5beee7314dd495982761d1a1320 /templates | |
parent | b6f0d0d6820ee60868152d0efe4c6dd6183d4dfd (diff) |
build package with native debug symbols
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/src/csharp/build_packages_dotnetcli.bat.template | 1 | ||||
-rwxr-xr-x | templates/src/csharp/build_packages_dotnetcli.sh.template | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/templates/src/csharp/build_packages_dotnetcli.bat.template b/templates/src/csharp/build_packages_dotnetcli.bat.template index 1bf78c4d23..45010fec74 100755 --- a/templates/src/csharp/build_packages_dotnetcli.bat.template +++ b/templates/src/csharp/build_packages_dotnetcli.bat.template @@ -49,6 +49,7 @@ %%DOTNET% pack --configuration Release Grpc.Reflection --output ..\..\..\artifacts || goto :error %%NUGET% pack Grpc.nuspec -Version %VERSION% -OutputDirectory ..\..\artifacts || goto :error + %%NUGET% pack Grpc.Core.NativeDebug.nuspec -Version %VERSION% -OutputDirectory ..\..\artifacts %%NUGET% pack Grpc.Tools.nuspec -Version %VERSION% -OutputDirectory ..\..\artifacts @rem copy resulting nuget packages to artifacts directory diff --git a/templates/src/csharp/build_packages_dotnetcli.sh.template b/templates/src/csharp/build_packages_dotnetcli.sh.template index ddfea74744..1172582ebd 100755 --- a/templates/src/csharp/build_packages_dotnetcli.sh.template +++ b/templates/src/csharp/build_packages_dotnetcli.sh.template @@ -48,6 +48,7 @@ dotnet pack --configuration Release Grpc.Reflection --output ../../../artifacts nuget pack Grpc.nuspec -Version "${settings.csharp_version}" -OutputDirectory ../../artifacts + nuget pack Grpc.Core.NativeDebug.nuspec -Version "${settings.csharp_version}" -OutputDirectory ../../artifacts nuget pack Grpc.Tools.nuspec -Version "${settings.csharp_version}" -OutputDirectory ../../artifacts (cd ../../artifacts && zip csharp_nugets_dotnetcli.zip *.nupkg) |