forked from thought-machine/please
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
52 lines (44 loc) · 996 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
41
42
43
44
45
46
47
48
49
50
51
52
subinclude("///shell//build_defs:shell")
filegroup(
name = "version",
srcs = ["VERSION"],
visibility = ["PUBLIC"],
)
filegroup(
name = "changelog",
srcs = ["ChangeLog"],
visibility = ["PUBLIC"],
)
genrule(
name = "bootstrap",
srcs = ["bootstrap.sh"],
outs = ["bootstrap.sh"],
binary = True,
cmd = "sed 's/EXCLUDES=\"\"/EXCLUDES=\"%s\"/' $SRC > \"$OUT\"" % CONFIG.get("EXCLUDETEST", ""),
)
filegroup(
name = "install",
srcs = ["install.sh"],
binary = True,
deps = ["//package:installed_files"],
)
filegroup(
name = "pleasew",
srcs = ["pleasew"],
binary = True,
visibility = ["//src/assets/..."],
)
sh_cmd(
name = "autofix",
cmd = "plz fmt -w && gofmt -s -w src tools test && plz run parallel --include codegen",
)
filegroup(
name = "pgo",
srcs = ["default.pgo"],
visibility = ["//src/..."],
)
filegroup(
name = "go_mod",
srcs = ["go.mod"],
visibility = ["//third_party/go/..."],
)