...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "get",
5 srcs = ["get.go"],
6 importpath = "edge-infra.dev/pkg/edge/edgecli/commands/activationcode/get",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/edge/edgecli",
10 "//pkg/edge/edgecli/constructors",
11 "//pkg/edge/edgecli/flagutil",
12 "//pkg/lib/cli/command",
13 "//pkg/lib/cli/rags",
14 ],
15)
16
17go_test(
18 name = "get_test",
19 srcs = ["get_unit_test.go"],
20 embed = [":get"],
21 deps = [
22 "//pkg/edge/api/fake",
23 "//pkg/edge/edgecli",
24 "//pkg/edge/edgecli/flagutil",
25 "@com_github_stretchr_testify//require",
26 ],
27)
View as plain text