-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathBUILD.bazel
29 lines (26 loc) · 1021 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
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:prefix github.com/sourcegraph/http-server-stabilizer
gazelle(name = "gazelle")
go_library(
name = "http-server-stabilizer_lib",
srcs = [
"hostname.go",
"main.go",
],
importpath = "github.com/sourcegraph/http-server-stabilizer",
visibility = ["//visibility:private"],
deps = [
"@com_github_phayes_freeport//:go_default_library",
"@com_github_prometheus_client_golang//prometheus:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promauto:go_default_library",
"@com_github_prometheus_client_golang//prometheus/promhttp:go_default_library",
"@com_github_slimsag_freeport//:go_default_library",
"@com_github_sourcegraph_log//:go_default_library",
],
)
go_binary(
name = "http-server-stabilizer",
embed = [":http-server-stabilizer_lib"],
visibility = ["//visibility:public"],
)