-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
41 lines (36 loc) · 890 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
32
33
34
35
36
37
38
39
40
41
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library", "go_prefix")
go_prefix("github.com/thomaso-mirodin/simpleHTTPS")
go_binary(
name = "simpleHTTPS",
library = ":go_default_library",
tags = ["automanaged"],
)
go_library(
name = "go_default_library",
srcs = [
"http.go",
"main.go",
"tls.go",
"tls_fingerprints.go",
],
tags = ["automanaged"],
deps = [
"//vendor:github.com/Sirupsen/logrus",
"//vendor:github.com/jessevdk/go-flags",
"//vendor:golang.org/x/net/http2",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"], exclude=["bazel-*/**", ".git/**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//vendor:all-srcs",
],
tags = ["automanaged"],
)