aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/helper_scripts/pre_build_csharp.sh
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-04-04 16:49:06 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-04-07 09:02:45 +0200
commit3c344d2f6955d3a3a7f784279bd66a67c6f02ce4 (patch)
treec546aeee7daaaeddf2562774b48495974f0159b3 /tools/run_tests/helper_scripts/pre_build_csharp.sh
parent7727c7649c52756c8bffa79c6f019fedb80f8776 (diff)
adjust run_tests scripts
Diffstat (limited to 'tools/run_tests/helper_scripts/pre_build_csharp.sh')
-rwxr-xr-xtools/run_tests/helper_scripts/pre_build_csharp.sh45
1 files changed, 1 insertions, 44 deletions
diff --git a/tools/run_tests/helper_scripts/pre_build_csharp.sh b/tools/run_tests/helper_scripts/pre_build_csharp.sh
index d7665e15af..40be1b6b64 100755
--- a/tools/run_tests/helper_scripts/pre_build_csharp.sh
+++ b/tools/run_tests/helper_scripts/pre_build_csharp.sh
@@ -33,47 +33,4 @@ set -ex
# cd to gRPC csharp directory
cd $(dirname $0)/../../../src/csharp
-root=`pwd`
-
-if [ -x "$(command -v nuget)" ]
-then
- # TODO(jtattermusch): Get rid of this hack. See #8034
- # Restoring Nuget packages by packages rather than by solution because of
- # inability to restore by solution with Nuget client 3.4.4
- # Moving into each directory to let the restores work based on per-project packages.config files
- cd Grpc.Auth
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.Core.Tests
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.Core
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.Examples.MathClient
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.Examples.MathServer
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.Examples
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.HealthCheck.Tests
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.HealthCheck
- nuget restore -PackagesDirectory ../packages
- cd ..
-
- cd Grpc.IntegrationTesting
- nuget restore -PackagesDirectory ../packages
- cd ..
-fi
+dotnet restore Grpc.sln