-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
31 lines (27 loc) · 814 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_test")
load("@bazel_gazelle//:def.bzl", "gazelle")
gazelle(
name = "gazelle",
prefix = "github.com/zhengyi13/bazel-go-ssl-check",
)
go_library(
name = "go_default_library",
srcs = ["ssl_expiry.go"],
importpath = "github.com/zhengyi13/bazel-go-ssl-check",
visibility = ["//visibility:private"],
deps = [
"@com_github_zhengyi13_prober//:go_default_library",
"@in_gopkg_yaml_v2//:go_default_library",
],
)
go_binary(
name = "ssl_check",
embed = [":go_default_library"],
importpath = "github.com/zhengyi13/bazel-go-ssl-check",
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = ["ssl_expiry_test.go"],
embed = [":go_default_library"],
)