From a0b8cb605857c315acbc12fdee1b35daa16caf4c Mon Sep 17 00:00:00 2001 From: Allan Clark Date: Tue, 10 Dec 2024 13:25:47 -0800 Subject: [PATCH] fix: re-import missing bazel_skylib --- examples/example-docker-project/BUILD | 0 examples/example-docker-project/BUILD.bazel | 15 --------------- examples/example-docker-project/MODULE.bazel | 3 +-- examples/example-kernelmod-spk/MODULE.bazel | 1 + examples/example-server/MODULE.bazel | 1 + 5 files changed, 3 insertions(+), 17 deletions(-) create mode 100644 examples/example-docker-project/BUILD delete mode 100644 examples/example-docker-project/BUILD.bazel diff --git a/examples/example-docker-project/BUILD b/examples/example-docker-project/BUILD new file mode 100644 index 0000000..e69de29 diff --git a/examples/example-docker-project/BUILD.bazel b/examples/example-docker-project/BUILD.bazel deleted file mode 100644 index e73fa7b..0000000 --- a/examples/example-docker-project/BUILD.bazel +++ /dev/null @@ -1,15 +0,0 @@ -load("@buildifier_prebuilt//:rules.bzl", "buildifier") - -buildifier( - name = "buildifier.check", - exclude_patterns = [ - "./.git/*", - ], - lint_mode = "warn", - mode = "diff", -) - -alias( - name = "gazelle", - actual = "buildifier.check", -) diff --git a/examples/example-docker-project/MODULE.bazel b/examples/example-docker-project/MODULE.bazel index dc9a123..9238370 100644 --- a/examples/example-docker-project/MODULE.bazel +++ b/examples/example-docker-project/MODULE.bazel @@ -3,9 +3,8 @@ module( version = "1.0", ) -bazel_dep(name = "buildifier_prebuilt", version = "7.3.1", dev_dependency = True) - bazel_dep(name = "aspect_bazel_lib", version = "2.9.4") +bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "platforms", version = "0.0.10") bazel_dep(name = "rules_pkg", version = "1.0.1") bazel_dep(name = "rules_synology") diff --git a/examples/example-kernelmod-spk/MODULE.bazel b/examples/example-kernelmod-spk/MODULE.bazel index cd051d1..8824501 100644 --- a/examples/example-kernelmod-spk/MODULE.bazel +++ b/examples/example-kernelmod-spk/MODULE.bazel @@ -3,6 +3,7 @@ module( version = "1.0", ) +bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "rules_pkg", version = "1.0.1") bazel_dep(name = "rules_python", version = "0.35.0") # can remain implicit in most builds bazel_dep(name = "rules_synology") diff --git a/examples/example-server/MODULE.bazel b/examples/example-server/MODULE.bazel index 2df2a9e..300a360 100644 --- a/examples/example-server/MODULE.bazel +++ b/examples/example-server/MODULE.bazel @@ -6,6 +6,7 @@ module( bazel_dep(name = "gazelle", version = "0.39.0", dev_dependency = True) bazel_dep(name = "rules_go", version = "0.50.1", dev_dependency = True) +bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "rules_pkg", version = "1.0.1") bazel_dep(name = "rules_synology")