From b92cb5959e89e09c62f256c25de67df88499e53c Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Fri, 22 Jan 2016 20:47:42 -0800 Subject: [PATCH] Run nuget restore on mac as well --- tools/run_tests/pre_build_csharp.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/run_tests/pre_build_csharp.sh b/tools/run_tests/pre_build_csharp.sh index 42ff60bea22..06c8a83071b 100755 --- a/tools/run_tests/pre_build_csharp.sh +++ b/tools/run_tests/pre_build_csharp.sh @@ -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