Skip to content

Commit

Permalink
Add gazelle flag in contribution guideline
Browse files Browse the repository at this point in the history
  • Loading branch information
rytswd committed Dec 4, 2020
1 parent a712e31 commit 43365a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -34,7 +34,7 @@ docker run -v $(pwd):/src/grpc-gateway --rm docker.pkg.github.com/grpc-ecosystem
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 :gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories --build_file_proto_mode=disable_global && \
bazel run :gazelle && \
bazel run :buildifier'
```
Expand All @@ -53,7 +53,7 @@ $ make realclean && make examples && make testproto
```

```shell
$ bazel run :gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories && \
$ bazel run :gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories --build_file_proto_mode=disable_global && \
bazel run :gazelle && \
bazel run :buildifier
```
Expand Down

0 comments on commit 43365a4

Please sign in to comment.