-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
BUILD
40 lines (36 loc) · 761 Bytes
/
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
load("//tools:codeowners.bzl", "codeowners", "generate_codeowners")
codeowners(
name = "wildcard",
pattern = "*",
team = "@zegl",
)
generate_codeowners(
name = "generate_codeowners",
owners = [
":wildcard",
],
)
sh_test(
name = "validate_codeowoners_up_to_date",
srcs = ["//tools:diff.sh"],
args = [
"$(location :generate_codeowners.out)",
"$(location CODEOWNERS)",
],
data = [
"CODEOWNERS",
":generate_codeowners.out",
],
)
sh_test(
name = "stardoc_up_to_date",
srcs = ["//tools:diff.sh"],
args = [
"$(location //docs:docs.md)",
"$(location README_DOCS.md)",
],
data = [
"README_DOCS.md",
"//docs:docs.md",
],
)