Skip to content

Commit

Permalink
chore: disable a stardoc diff test on bazel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Oct 2, 2024
1 parent 83370bb commit 8b83e21
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ bazel_dep(name = "aspect_bazel_lib", version = "2.7.7")
# Minimum version needs 'chore: bump bazel-lib to 2.0 by @alexeagle in #1311'
# to allow users on bazel-lib 2.0
bazel_dep(name = "aspect_rules_js", version = "1.40.0")
bazel_dep(name = "bazel_features", version = "1.18.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "rules_multirun", version = "0.9.0")
Expand Down
3 changes: 3 additions & 0 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This load statement must be in the docs/ package rather than anything users depend on
# so that the dependency on stardoc doesn't leak to them.
load("@aspect_bazel_lib//lib:docs.bzl", "stardoc_with_diff_test", "update_docs")
load("@bazel_features//private:util.bzl", "lt")

stardoc_with_diff_test(
name = "lint_test",
Expand Down Expand Up @@ -35,6 +36,8 @@ stardoc_with_diff_test(
stardoc_with_diff_test(
name = "format",
bzl_library_target = "//format:defs",
# See https://github.com/bazel-contrib/bazel_features/pull/75
target_compatible_with = ["@platforms//:incompatible"] if lt("8.0.0-pre.20240911.1") else [],
)

stardoc_with_diff_test(
Expand Down
4 changes: 2 additions & 2 deletions docs/format.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8b83e21

Please sign in to comment.