Skip to content

Commit

Permalink
chore(internal/gapicgen): use -d to download modules (#3744)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Feb 25, 2021
1 parent 529925b commit 39517ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/gapicgen/cmd/genbot/README.md
Expand Up @@ -109,7 +109,7 @@ This will speed up the build a bit:

```shell
cd /path/to/internal/gapicgen
go get -u github.com/googleapis/gapic-generator-go/cmd/protoc-gen-go_gapic
go get -d github.com/googleapis/gapic-generator-go/cmd/protoc-gen-go_gapic
```

(it's just based on the go.mod entry)
4 changes: 2 additions & 2 deletions internal/gapicgen/cmd/genbot/update.go
Expand Up @@ -70,8 +70,8 @@ for i in $(find . -name go.mod); do
# Update genproto and api to latest for every module (latest version is
# always correct version). tidy will remove the dependencies if they're not
# actually used by the client.
go get -u google.golang.org/api | true # We don't care that there's no files at root.
go get -u google.golang.org/genproto | true # We don't care that there's no files at root.
go get -d google.golang.org/api | true # We don't care that there's no files at root.
go get -d google.golang.org/genproto | true # We don't care that there's no files at root.
go mod tidy;
popd;
done
Expand Down

0 comments on commit 39517ae

Please sign in to comment.