-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rules_go is a non-dev dep at HEAD (#554)
This ensures if you get a SHA of bazel-lib you build the tools/ from head
- Loading branch information
Showing
3 changed files
with
20 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/MODULE.bazel b/MODULE.bazel | ||
index f05c57a..4cb6104 100644 | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -28,9 +28,9 @@ register_toolchains( | ||
# To allow /tools to be built from source | ||
# NOTE: when publishing to BCR, we patch this to be dev_dependency, as we publish pre-built binaries | ||
# along with our releases. | ||
-bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go") | ||
+bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go", dev_dependency = True) | ||
|
||
-go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") | ||
+go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps", dev_dependency = True) | ||
go_deps.from_file(go_mod = "//:go.mod") | ||
use_repo( | ||
go_deps, |
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