...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_test(
4 name = "calculation_test",
5 srcs = [
6 "calculation_test.go",
7 "coverage_test.go",
8 ],
9 embed = [":calculation"],
10 deps = ["@org_golang_x_tools//cover"],
11)
12
13go_library(
14 name = "calculation",
15 srcs = [
16 "calculation.go",
17 "coverage.go",
18 "coveragelist.go",
19 ],
20 importpath = "edge-infra.dev/third_party/gopherage/pkg/cov/junit/calculation",
21 visibility = ["//visibility:public"],
22 deps = ["@org_golang_x_tools//cover"],
23)
View as plain text