forked from pipe-cd/pipecd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel.tpl
48 lines (41 loc) · 1.09 KB
/
BUILD.bazel.tpl
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
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:exclude docs
# gazelle:exclude hack
# gazelle:exclude dockers
# gazelle:exclude manifests
# gazelle:exclude terraform
# gazelle:exclude template
# gazelle:exclude vendor
# gazelle:exclude pkg/app/web/node_modules
# gazelle:exclude pkg/plugin/golinter/gofmt/testdata
# gazelle:exclude pkg/app/kapetool/cmd/godifflinter/pkg/linters/unusedparam/testdata
# gazelle:exclude pkg/app/kapetool/cmd/godifflinter/pkg/linters/ineffassign/testdata
# gazelle:build_file_name BUILD.bazel
# gazelle:prefix github.com/pipe-cd/pipe
gazelle(
name = "gazelle",
)
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
buildifier(
name = "buildifier",
exclude_patterns = [
"./docs/*",
"./dockers/*",
"./manifests/*",
"./terraform/*",
"./template/*",
"./vendor/*",
],
)
genrule(
name = "copy_piped",
srcs = ["//cmd/piped"],
outs = ["piped"],
cmd = "cp $< $@",
)
genrule(
name = "copy_pipectl",
srcs = ["//cmd/pipectl"],
outs = ["pipectl"],
cmd = "cp $< $@",
)