File tree Expand file tree Collapse file tree 2 files changed +28
-36
lines changed
Expand file tree Collapse file tree 2 files changed +28
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- set -e
3+ # This script:
4+ # - Builds generated packages
5+ # - Builds support packages
6+ # - Runs unit tests for support packages
47
5- dotnet build Src/Support/GoogleApisClient.sln
6- dotnet test --no-restore Src/Support/Google.Apis.Auth.Tests/Google.Apis.Auth.Tests.csproj
7- dotnet test --no-restore Src/Support/Google.Apis.Tests/Google.Apis.Tests.csproj
8+ set -ex
9+
10+ # To avoid printing the dotnet CLI welcome message
11+ export DOTNET_NOLOGO=true
12+
13+ cd Src/Generated
14+
15+ PROJECTS=$( dir)
16+ echo " Building generated packages"
17+ for project in $PROJECTS
18+ do
19+ dotnet build $project
20+ done
21+
22+ cd ../Support
23+
24+ echo " Building support packages"
25+ dotnet build GoogleApisClient.sln
26+
27+ echo " Unit testing support packages"
28+ dotnet test --no-restore Google.Apis.Auth.Tests
29+ dotnet test --no-restore Google.Apis.Tests
30+
31+ echo " Build and unit testing completed"
You can’t perform that action at this time.
0 commit comments