aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/3.4.0/csharp/build_packages.bat
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/3.4.0/csharp/build_packages.bat')
-rw-r--r--third_party/protobuf/3.4.0/csharp/build_packages.bat10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/protobuf/3.4.0/csharp/build_packages.bat b/third_party/protobuf/3.4.0/csharp/build_packages.bat
new file mode 100644
index 0000000000..d7205659f1
--- /dev/null
+++ b/third_party/protobuf/3.4.0/csharp/build_packages.bat
@@ -0,0 +1,10 @@
+@rem Builds Google.Protobuf NuGet packages
+
+dotnet restore src/Google.Protobuf.sln
+dotnet pack -c Release src/Google.Protobuf.sln || goto :error
+
+goto :EOF
+
+:error
+echo Failed!
+exit /b %errorlevel%