summaryrefslogtreecommitdiffhomepage
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorDaniel Dao <dqminh89@gmail.com>2021-08-20 11:51:28 +0100
committerDaniel Dao <dqminh89@gmail.com>2021-08-20 12:19:17 +0100
commit8578e6882e23bfc60b8b69b6d955266339469b62 (patch)
tree6524d3ebe2483dc392d4410f82005c17fb03eb05 /CONTRIBUTING.md
parent3ba8df92a86aa1044ab59110c640ba413341b9f3 (diff)
Fix instructions refer to `tools/go_mod.sh`
`tools/go_mod.sh` is not in the repo. In order to update the WORKSPACE dependencies, we can use the same gazelle command in BUILD file. Also changed `go mod get` to `go get`, the former does not exist anymore. Signed-off-by: Daniel Dao <dqminh89@gmail.com>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8790f4a2f..6b0958ca8 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -32,8 +32,9 @@ will need to be added to the appropriate `BUILD` files, and the `:gopath` target
will need to be re-run to generate appropriate symlinks in the `GOPATH`
directory tree.
-Dependencies can be added by using `go mod get`. In order to keep the
-`WORKSPACE` file in sync, run `tools/go_mod.sh` in place of `go mod`.
+Dependencies can be added by using `go get`. In order to keep the
+`WORKSPACE` file in sync, run `bazel run //:gazelle -- update-repos -from_file=go.mod`
+in place of `go mod`.
### Coding Guidelines