-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
BUILD
31 lines (28 loc) · 956 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
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "go_default_library",
srcs = ["main.go"],
importpath = "github.com/lucperkins/colossus/auth",
visibility = ["//visibility:public"],
deps = [
"//proto/auth:go_default_library",
"@com_github_go_redis_redis//:go_default_library",
"@com_github_grpc_ecosystem_go_grpc_prometheus//:go_default_library",
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promhttp:go_default_library",
"@org_golang_google_grpc//:go_default_library",
],
)
go_binary(
name = "auth_bin",
embed = [":go_default_library"],
visibility = ["//visibility:public"],
)
go_binary(
name = "auth_linux_bin",
embed = [":go_default_library"],
goarch = "amd64",
goos = "linux",
pure = "on",
visibility = ["//visibility:public"],
)