-
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.
Bazel build files are now maintained primarily with `bazel run gazelle`. This will analyze and merge changes into the build files as necessitated by certain code changes (e.g. the introduction of new modules). In some cases there hints to gazelle in the build files, such as `# gazelle:erlang...` or `# keep` comments. xref checks on plugins that depend on the cli are a good example.
- Loading branch information
Showing
127 changed files
with
9,952 additions
and
1,419 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,15 +71,23 @@ 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 | ||
## Add/update an external dependency | ||
|
||
### from hex.pm | ||
|
||
1. `bazel run gazelle-update-repos -- -args hex.pm/[email protected]` to generate/update `bazel/BUILD.accept` | ||
1. `git checkout WORKSPACE` to reset the workspace file | ||
1. Add/update the entry in MODULE.bazel | ||
|
||
## Add/update an external dependency from github | ||
### from github | ||
|
||
1. `bazel run gazelle-update-repos -- -args --testonly github.com/extend/ct_helper@master` | ||
1. `git checkout WORKSPACE` to reset the workspace file | ||
1. Add/update the entry in MODULE.bazel | ||
|
||
## Update BUILD files | ||
|
||
`bazel run gazelle-update-repos -- -args --testonly github.com/extend/ct_helper` | ||
`bazel run gazelle` | ||
|
||
## Additional Useful Commands | ||
|
||
|
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
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
Oops, something went wrong.