...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "capabilities",
5 srcs = ["capability_types.go"],
6 importpath = "edge-infra.dev/pkg/edge/capabilities",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/edge/api/graph/model",
10 "@com_github_hashicorp_go_version//:go-version",
11 ],
12)
13
14go_test(
15 name = "capabilities_test",
16 srcs = ["capability_types_test.go"],
17 embed = [":capabilities"],
18 deps = [
19 "//pkg/edge/api/graph/model",
20 "@com_github_stretchr_testify//assert",
21 ],
22)
View as plain text