Index: third_party/protobuf/csharp/build_packages.bat |
diff --git a/third_party/protobuf/csharp/build_packages.bat b/third_party/protobuf/csharp/build_packages.bat |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1502f0634b7862aca04d39737564c091325b1221 |
--- /dev/null |
+++ b/third_party/protobuf/csharp/build_packages.bat |
@@ -0,0 +1,13 @@ |
+@rem Builds Google.Protobuf NuGet packages |
+ |
+@rem Adjust the location of nuget.exe |
+set NUGET=C:\nuget\nuget.exe |
+ |
+@rem Build src/Google.Protobuf.sln solution in Release configuration first. |
+%NUGET% pack src\Google.Protobuf\Google.Protobuf.nuspec -Symbols || goto :error |
+ |
+goto :EOF |
+ |
+:error |
+echo Failed! |
+exit /b %errorlevel% |