forked from bazelbuild/stardoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
61 lines (54 loc) · 1.47 KB
/
BUILD
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
51
52
53
54
55
56
57
58
59
60
61
load("@rules_license//rules:license.bzl", "license")
package(default_applicable_licenses = [":license"])
license(
name = "license",
package_name = "bazelbuild/stardoc",
license_kinds = ["@rules_license//licenses/spdx:Apache-2.0"],
)
licenses(["notice"])
# Inputs for distro transformations and consistency tests.
exports_files(
[
"LICENSE",
"WORKSPACE",
"MODULE.bazel",
"deps.bzl",
"version.bzl",
],
visibility = ["//:__subpackages__"],
)
filegroup(
name = "stardoc_rule_doc",
testonly = 1,
srcs = ["docs/stardoc_rule.md"],
visibility = ["//test:__pkg__"],
)
# Sources needed for release tarball.
filegroup(
name = "distro_srcs",
srcs = [
"AUTHORS",
"BUILD",
"CHANGELOG.md",
"CONTRIBUTORS",
"LICENSE",
"MODULE.bazel",
"maven_install.json",
"rules_jvm_external.patch",
"//src/main/java/com/google/devtools/build/skydoc/renderer:srcs",
"//src/main/java/com/google/devtools/build/skydoc/rendering:srcs",
"//src/test/java/com/google/devtools/build/skydoc/rendering:srcs",
"//stardoc:distro_srcs",
"//stardoc/private:distro_srcs",
"//stardoc/proto:distro_srcs",
] + glob(["*.bzl"]),
visibility = ["//:__subpackages__"],
)
# Binaries needed for release tarball.
filegroup(
name = "distro_bins",
srcs = [
"//stardoc:distro_bins",
],
visibility = ["//:__subpackages__"],
)