mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-09 18:48:51 +08:00
c5d57c03ee
* Replace protobuf 2.6.1 with 3.21.8 * Update/add protobuf libs * Add CS2 protos * Remove old csgo/dota protos * Add versioned protoc bin * Comment out Valve's `schema` define for now * Use ENetworkDisconnectionReason * Fix-up `offsetof` to avoid errors on some Clang versions
14 lines
255 B
Batchfile
14 lines
255 B
Batchfile
@rem Builds Google.Protobuf and runs the tests
|
|
|
|
dotnet build src/Google.Protobuf.sln || goto :error
|
|
|
|
echo Running tests.
|
|
|
|
dotnet test src/Google.Protobuf.Test/Google.Protobuf.Test.csproj || goto :error
|
|
|
|
goto :EOF
|
|
|
|
:error
|
|
echo Failed!
|
|
exit /b %errorlevel%
|