forked from jupp0r/prometheus-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
54 lines (48 loc) · 1 KB
/
Copy pathBUILD.bazel
File metadata and controls
54 lines (48 loc) · 1 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
47
48
49
50
51
52
53
54
load("@rules_cc//cc:cc_binary.bzl", "cc_binary")
load("@rules_cc//cc:cc_test.bzl", "cc_test")
load("@rules_shell//shell:sh_test.bzl", "sh_test")
cc_binary(
name = "sample-server",
srcs = ["sample_server.cc"],
deps = ["//pull"],
)
cc_binary(
name = "sample-server_multi",
srcs = ["sample_server_multi.cc"],
deps = ["//pull"],
)
cc_binary(
name = "sample-server_auth",
srcs = ["sample_server_auth.cc"],
deps = ["//pull"],
)
sh_test(
name = "scrape-test",
size = "small",
srcs = ["scrape.sh"],
data = [
"sample-server",
"scrape.conf",
],
tags = ["manual"],
)
sh_test(
name = "lint-test",
size = "small",
srcs = ["lint.sh"],
data = [
"sample-server",
],
tags = ["manual"],
)
cc_test(
name = "integration_test",
srcs = ["integration_test.cc"],
copts = ["-Iexternal/googletest/include"],
linkstatic = True,
deps = [
"//pull",
"@curl",
"@googletest//:gtest_main",
],
)