Update rules_go, prune unused go_repositories (#7800)

This commit is contained in:
Preston Van Loon
2020-11-12 20:32:15 -08:00
committed by GitHub
parent 5fdb916b4f
commit 21d4c8f3f8
3 changed files with 24 additions and 681 deletions

View File

@@ -61,7 +61,7 @@ Example:
```bash
go get github.com/prysmaticlabs/example@v1.2.3
bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%prysm_deps
bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%prysm_deps -prune=true
```
The deps.bzl file should have been updated with the dependency and any transitive dependencies.