aboutsummaryrefslogtreecommitdiff
path: root/bazel/coverage/BUILD.bazel
blob: b3dc9861625f221cf090a01b83a13920928a5e24 (plain)
1
2
3
4
5
6
7
8
9
10
# Run this target to generate and open an HTML coverage report.
# Takes the same arguments as `bazel coverage`, but after a double dash (`--`).
# The default is to run `bazel coverage //...`, which accumulates the coverage of all tests.
sh_binary(
    name = "coverage",
    srcs = ["coverage.sh"],
    data = [
        "@genhtml//file:genhtml",
    ],
)