-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathBUILD
More file actions
50 lines (45 loc) · 1.59 KB
/
Copy pathBUILD
File metadata and controls
50 lines (45 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# *******************************************************************************
# Copyright (c) 2025 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@score_docs_as_code//:docs.bzl", "docs")
load("@score_tooling//:defs.bzl", "setup_starpls", "use_format_targets")
# Docs-as-code
docs(
data = [
# Software components
"@score_persistency//:needs_json",
"@score_orchestrator//:needs_json",
"@score_kyron//:needs_json",
# "@score_baselibs//:needs_json", # score_tooling is dev_dependency
# "@score_communication//:needs_json", # no docs_sources
# "@score_lifecycle_health//:needs_json", # unreadable images - relative paths issue
"@score_logging//:needs_json", # duplicated labels
# Tools
"@score_platform//:needs_json",
"@score_process//:needs_json",
"@score_docs_as_code//:needs_json",
],
known_good = "known_good.json",
source_dir = "docs",
)
# Bazel formatting
setup_starpls(
name = "starpls_server",
visibility = ["//visibility:public"],
)
# Add target for formatting checks
use_format_targets()
exports_files([
"MODULE.bazel",
"pyproject.toml",
"known_good.json",
])