Skip to content

Commit

Permalink
bzlmod: Add dedicated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Apr 21, 2023
1 parent c6d7dc1 commit 02b077f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/go/core/bzlmod.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ If you have a use case that would require this, please explain it in an issue.

* `go_local_sdk`
* `go_wrap_sdk`
* nogo
* nogo ([#3529](https://github.com/bazelbuild/rules_go/issues/3529))

## Generating BUILD files

Expand Down Expand Up @@ -113,7 +113,7 @@ use_repo(
)
```

There is [ongoing work](https://github.com/bazelbuild/bazel/issues/17908) targeted for Bazel 6.2.0 to automate the generation of the `use_repo` statement.
There is [ongoing work](https://github.com/bazelbuild/bazel-gazelle/pull/1511) targeted for Bazel 6.2.0 to automate the generation of the `use_repo` statement.

Alternatively, you can specify a module extension tag to add an individual dependency.
This can be useful for dependencies of generated code that `go mod tidy` would remove. (There is [ongoing work](https://github.com/bazelbuild/bazel-gazelle/pull/1495) to provide a Bazel-aware version of `tidy`.)
Expand Down

0 comments on commit 02b077f

Please sign in to comment.