chore: tidy in MODULE.bazel file (#846)

This commit is contained in:
Greg Magolan 2024-05-14 00:17:27 -07:00 committed by GitHub
parent ffc5a7bfa1
commit e11bd38403
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ module(
compatibility_level = 1, compatibility_level = 1,
) )
# Lower-bound versions of our dependencies # Lower-bounds (minimum) versions for direct runtime dependencies
bazel_dep(name = "bazel_skylib", version = "1.5.0") bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "platforms", version = "0.0.8") bazel_dep(name = "platforms", version = "0.0.8")
@ -38,9 +38,7 @@ register_toolchains(
"@zstd_toolchains//:all", "@zstd_toolchains//:all",
) )
host = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "host", dev_dependency = True) ####### Dev dependencies ########
host.host()
use_repo(host, "aspect_bazel_lib_host")
# To allow /tools to be built from source # 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 # NOTE: when publishing to BCR, we patch this to be dev_dependency, as we publish pre-built binaries
@ -70,7 +68,9 @@ use_repo(
"org_golang_x_exp", "org_golang_x_exp",
) )
# Development-only dependencies host = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "host", dev_dependency = True)
host.host()
use_repo(host, "aspect_bazel_lib_host")
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True) bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True) bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)