forked from kevinburke/rest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
37 lines (33 loc) · 846 Bytes
/
BUILD.bazel
File metadata and controls
37 lines (33 loc) · 846 Bytes
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
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_prefix", "go_test")
go_prefix("github.com/Shyp/rest")
go_library(
name = "go_default_library",
srcs = [
"client.go",
"ctx.go",
"noctx.go",
"rest.go",
"transport.go",
],
visibility = ["//visibility:public"],
deps = ["@com_github_inconshreveable_log15//:go_default_library"],
)
go_test(
name = "go_default_test",
srcs = [
"client_test.go",
"ctx_test.go",
"rest_test.go",
"tools_test.go",
"transport_test.go",
],
library = ":go_default_library",
timeout = "short",
deps = ["@com_github_google_go_cmp//cmp:go_default_library"],
)
go_test(
name = "go_default_xtest",
srcs = ["example_test.go"],
timeout = "short",
deps = ["//:go_default_library"],
)