aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/build_packages.bat
blob: 8157bbab7541b81f40b609b8340cfa0f3535d378 (plain)
1
2
3
4
5
6
7
8
9
10
@rem Builds Google.Protobuf NuGet packages

dotnet restore src/Google.Protobuf.sln
dotnet pack -c Release src/Google.Protobuf.sln /p:SourceLinkCreate=true || goto :error

goto :EOF

:error
echo Failed!
exit /b %errorlevel%