-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rules_docker depends on an old gazelle, which depends on an old rules_go, which is not bazel 7 compatible bazel-contrib/rules_go#3361 (comment) So we make the gazelle dependency explicit on a newer version
- Loading branch information
Showing
3 changed files
with
52 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,26 +71,6 @@ Note: This takes quite some time on a single machine. | |
|
||
`bazel test //deps/rabbit:lazy_queue_SUITE` | ||
|
||
## Add/update an external dependency | ||
|
||
### from hex.pm | ||
|
||
1. `bazel run gazelle-update-repos -- hex.pm/[email protected]` to generate/update `bazel/BUILD.accept` | ||
1. Add/update the entry in MODULE.bazel | ||
|
||
### from github | ||
|
||
1. `bazel run gazelle-update-repos -- --testonly github.com/extend/ct_helper@master` | ||
1. Add/update the entry in MODULE.bazel | ||
|
||
## Update BUILD files | ||
|
||
`bazel run gazelle` | ||
|
||
## Regenerate moduleindex.yaml | ||
|
||
`bazel run :moduleindex > moduleindex.yaml` | ||
|
||
## Additional Useful Commands | ||
|
||
- Format all bazel files consistently (requires [buildifier](https://github.com/bazelbuild/buildtools/blob/master/buildifier/README.md)): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters