forked from go-resty/resty
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
47 lines (41 loc) · 1.02 KB
/
BUILD.bazel
File metadata and controls
47 lines (41 loc) · 1.02 KB
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
43
44
45
46
package(default_visibility = ["//visibility:private"])
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_prefix", "go_test")
go_prefix("gopkg.in/resty.v1")
gazelle(
name = "gazelle",
command = "fix",
)
go_library(
name = "go_default_library",
srcs = [
"client.go",
"default.go",
"middleware.go",
"redirect.go",
"request.go",
"request16.go",
"request17.go",
"response.go",
"resty.go",
"retry.go",
"util.go",
],
importpath = "gopkg.in/resty.v1",
visibility = ["//visibility:public"],
deps = ["@org_golang_x_net//publicsuffix:go_default_library"],
)
go_test(
name = "go_default_test",
srcs = [
"client_test.go",
"context17_test.go",
"context18_test.go",
"context_test.go",
"request_test.go",
"resty_test.go",
"retry_test.go",
],
data = glob(["test-data/*"]),
embed = [":go_default_library"],
)