chore: update MODULE.bazel to use register_toolchains
This commit is contained in:
parent
c86f355dd0
commit
47be61d96b
|
@ -1,4 +1,4 @@
|
||||||
5.2.0
|
5.3.0
|
||||||
# The first line of this file is used by Bazelisk and Bazel to be sure
|
# The first line of this file is used by Bazelisk and Bazel to be sure
|
||||||
# the right version of Bazel is used to build and test this repo.
|
# the right version of Bazel is used to build and test this repo.
|
||||||
# This also defines which version is used on CI.
|
# This also defines which version is used on CI.
|
||||||
|
|
10
MODULE.bazel
10
MODULE.bazel
|
@ -3,10 +3,6 @@
|
||||||
module(
|
module(
|
||||||
name = "aspect_bazel_lib",
|
name = "aspect_bazel_lib",
|
||||||
compatibility_level = 1,
|
compatibility_level = 1,
|
||||||
toolchains_to_register = [
|
|
||||||
"@jq_toolchains//:all",
|
|
||||||
"@yq_toolchains//:all",
|
|
||||||
],
|
|
||||||
version = "0.0.0",
|
version = "0.0.0",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -19,3 +15,9 @@ ext = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "ext")
|
||||||
use_repo(ext, "jq_toolchains")
|
use_repo(ext, "jq_toolchains")
|
||||||
|
|
||||||
use_repo(ext, "yq_toolchains")
|
use_repo(ext, "yq_toolchains")
|
||||||
|
|
||||||
|
register_toolchains(
|
||||||
|
"@jq_toolchains//:all",
|
||||||
|
"@yq_toolchains//:all",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
5.2.0
|
5.3.0
|
||||||
|
|
Loading…
Reference in New Issue