load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "go-junit-report_lib",
    srcs = ["go-junit-report.go"],
    importmap = "peridot.resf.org/vendor/github.com/jstemmer/go-junit-report",
    importpath = "github.com/jstemmer/go-junit-report",
    visibility = ["//visibility:private"],
    deps = [
        "//vendor/github.com/jstemmer/go-junit-report/formatter",
        "//vendor/github.com/jstemmer/go-junit-report/parser",
    ],
)

go_binary(
    name = "go-junit-report",
    embed = [":go-junit-report_lib"],
    visibility = ["//visibility:public"],
)