diff options
author | Craig Tiller <ctiller@google.com> | 2016-01-23 19:07:00 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-01-23 19:07:00 -0800 |
commit | e0a609365164417bef2fa130d2bacbb786fb9b03 (patch) | |
tree | a2ed8b66aa712a3cdbff6251b280858ffc81f50b /tools | |
parent | 5e43ac09e1d0cc1e19cc64d85fafdad5a0fbdc9b (diff) | |
parent | 3175f7c7335deb8b0801d8e5b628d6f6da48fefd (diff) |
Merge pull request #4861 from jtattermusch/macos_nuget_restore
Run nuget restore on mac as well
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run_tests/pre_build_csharp.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/run_tests/pre_build_csharp.sh b/tools/run_tests/pre_build_csharp.sh index 42ff60bea2..4341c0256f 100755 --- a/tools/run_tests/pre_build_csharp.sh +++ b/tools/run_tests/pre_build_csharp.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2015, Google Inc. +# Copyright 2015-2016, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -35,6 +35,11 @@ cd $(dirname $0)/../../src/csharp root=`pwd` +if [ -x "$(command -v nuget)" ] +then + nuget restore Grpc.sln +fi + if [ -n "$NUGET" ] then $NUGET restore Grpc.sln |