-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
42 lines (34 loc) · 835 Bytes
/
BUILD.bazel
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
package(default_visibility = ["//visibility:public"])
licenses(["notice"])
load("@io_bazel_rules_go//go:def.bzl", "gazelle", "go_prefix")
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
go_prefix("github.com/xforce/glaucium")
gazelle(
name = "gazelle",
args = [
"-build_file_name",
"BUILD,BUILD.bazel",
],
build_tags = [
"linux",
"amd64",
],
external = "vendored",
command = "fix",
)
filegroup(
name = "all-srcs",
srcs = [
"//cmd:all-srcs",
"//pkg:all-srcs",
"//vendor:all-srcs",
"//third_party:all-srcs"
],
tags = ["automanaged"],
)
genrule(
name = "save_git_version",
outs = ["version"],
cmd = "grep ^STABLE_BUILD_SCM_REVISION bazel-out/stable-status.txt | cut -d' ' -f2 >$@",
stamp = 1,
)