Skip to content

Commit 6fa5c19

Browse files
fix: remove broken copyright_checker Bazel target
1 parent 118339f commit 6fa5c19

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

BUILD

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# *******************************************************************************
1313

1414
load("@score_docs_as_code//:docs.bzl", "docs")
15-
load("@score_tooling//:defs.bzl", "copyright_checker", "setup_starpls", "use_format_targets")
15+
load("@score_tooling//:defs.bzl", "setup_starpls", "use_format_targets")
1616

1717
# Docs-as-code
1818
docs(
@@ -41,35 +41,6 @@ setup_starpls(
4141
visibility = ["//visibility:public"],
4242
)
4343

44-
# Copyright check
45-
#
46-
# NOTE: CI enforces copyright headers via the pre-commit `copyright` hook
47-
# (see //.pre-commit-config.yaml and .github/workflows/copyright.yml), not this
48-
# Bazel target. `bazel run //:copyright.check` currently fails to analyze because
49-
# its "docs" src pulls in the docs() -> needs_json graph, which references
50-
# @score_process/@score_platform; those are dev_dependencies in the score modules
51-
# and so are not visible when reference_integration aggregates them.
52-
# Tracked in https://github.com/eclipse-score/reference_integration/issues/166.
53-
copyright_checker(
54-
name = "copyright",
55-
srcs = [
56-
".github",
57-
"bazel_common",
58-
"docs",
59-
"feature_integration_tests",
60-
"images",
61-
"runners",
62-
"rust_coverage",
63-
"scripts",
64-
"showcases",
65-
"//:BUILD",
66-
"//:MODULE.bazel",
67-
],
68-
config = "@score_tooling//cr_checker/resources:config",
69-
template = "@score_tooling//cr_checker/resources:templates",
70-
visibility = ["//visibility:public"],
71-
)
72-
7344
# Add target for formatting checks
7445
use_format_targets()
7546

0 commit comments

Comments
 (0)