File: BUILD.bazel

package info (click to toggle)
prometheus-cpp 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 792 kB
  • sloc: cpp: 3,596; sh: 37; makefile: 12
file content (50 lines) | stat: -rw-r--r-- 907 bytes parent folder | download | duplicates (3)
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
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",
        "@com_github_curl//:curl",
        "@com_google_googletest//:gtest_main",
    ],
)