From 03ca20f5049140a94cb75d78cffc90ba61a6aee2 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Tue, 8 Nov 2022 10:31:48 -0700 Subject: [PATCH] Fix README --- cmd/go_deps/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/go_deps/README.md b/cmd/go_deps/README.md index ebad62b7..a1f5c2c4 100644 --- a/cmd/go_deps/README.md +++ b/cmd/go_deps/README.md @@ -10,10 +10,11 @@ then used to identify the transitive dependencies and saves them to `go_deps.bzl Update the `main.go` in this directory to depend upon the desired Golang package. Be sure to use the package in some way. Otherwise, `go mod tidy` will remove it. -Execute `//:tidy` to update the `go_deps.bzl` and ensure that the build files are updated properly. +Execute the following to update the go module files, resolve the Golang dependencies and update the +Bazel build files. ```sh -$ go mod tidy +# bazel run @go_sdk//:bin/go -- mod tidy $ bazel run //:gazelle_update_repos $ bazel run //:gazelle ```