Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: third_party/protobuf/csharp/buildall.sh

Issue 2599263002: third_party/protobuf: Update to HEAD (f52e188fe4) (Closed)
Patch Set: Address comments Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Use mono to build solution and run all tests.
3 2
4 # Adjust these to reflect the location of nunit-console in your system.
5 NUNIT_CONSOLE=nunit-console
6
7 # The rest you can leave intact
8 CONFIG=Release 3 CONFIG=Release
9 SRC=$(dirname $0)/src 4 SRC=$(dirname $0)/src
10 5
11 set -ex 6 set -ex
12 7
13 echo Building the solution. 8 echo Building relevant projects.
14 xbuild /p:Configuration=$CONFIG $SRC/Google.Protobuf.sln 9 dotnet build -c $CONFIG $SRC/Google.Protobuf $SRC/Google.Protobuf.Test $SRC/Goog le.Protobuf.Conformance
15 10
16 echo Running tests. 11 echo Running tests.
17 $NUNIT_CONSOLE $SRC/Google.Protobuf.Test/bin/$CONFIG/Google.Protobuf.Test.dll 12 # Only test netcoreapp1.0, which uses the .NET Core runtime.
13 # If we want to test the .NET 4.5 version separately, we could
14 # run Mono explicitly. However, we don't have any differences between
15 # the .NET 4.5 and netstandard1.0 assemblies.
16 dotnet test -c $CONFIG -f netcoreapp1.0 $SRC/Google.Protobuf.Test
OLDNEW
« no previous file with comments | « third_party/protobuf/csharp/build_tools.sh ('k') | third_party/protobuf/csharp/generate_protos.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698