Skip to content

Commit

Permalink
Combine bazel regeneration commands
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrandhorst committed Apr 28, 2020
1 parent 6dc78d0 commit 3224275
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ docker run -v $(pwd):/src/grpc-gateway --rm docker.pkg.github.com/grpc-ecosystem
make examples && \
make testproto'
docker run -itv $(pwd):/grpc-gateway -w /grpc-gateway --entrypoint /bin/bash --rm \
l.gcr.io/google/bazel -c 'bazel run :gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories; bazel run :buildifier'
docker run -itv $(pwd):/grpc-gateway -w /grpc-gateway --entrypoint /bin/bash --rm \
l.gcr.io/google/bazel -c 'bazel run :gazelle'
l.gcr.io/google/bazel -c '\
bazel run :gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories && \
bazel run :gazelle && \
bazel run :buildifier'
```

You may need to authenticate with github to pull `docker.pkg.github.com/grpc-ecosystem/grpc-gateway/build-env`.
Expand Down

0 comments on commit 3224275

Please sign in to comment.