From e11bd38403b9593627c74a344ac36390c172e10f Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Tue, 14 May 2024 00:17:27 -0700 Subject: [PATCH] chore: tidy in MODULE.bazel file (#846) --- MODULE.bazel | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 41058f0..e07509e 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -7,7 +7,7 @@ module( 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 = "platforms", version = "0.0.8") @@ -38,9 +38,7 @@ register_toolchains( "@zstd_toolchains//:all", ) -host = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "host", dev_dependency = True) -host.host() -use_repo(host, "aspect_bazel_lib_host") +####### Dev dependencies ######## # 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 @@ -70,7 +68,9 @@ use_repo( "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 = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)