...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "dlog",
5 srcs = ["decision_log.go"],
6 importpath = "edge-infra.dev/pkg/tools/dlog",
7 visibility = ["//visibility:public"],
8 deps = ["@io_k8s_sigs_yaml//:yaml"],
9)
10
11go_test(
12 name = "dlog_test",
13 srcs = ["decision_log_test.go"],
14 data = glob(["testdata/**"]),
15 embed = [":dlog"],
16 deps = [
17 "//pkg/lib/build/bazel",
18 "@com_github_stretchr_testify//assert",
19 "@com_github_stretchr_testify//require",
20 ],
21)
View as plain text