...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "lift",
5 srcs = [
6 "config.go",
7 "doc.go",
8 ],
9 importpath = "edge-infra.dev/pkg/f8n/warehouse/lift",
10 visibility = ["//visibility:public"],
11 deps = [
12 "//pkg/f8n/warehouse/cluster",
13 "//pkg/lib/build/git",
14 "@in_gopkg_yaml_v3//:yaml_v3",
15 ],
16)
17
18go_test(
19 name = "lift_test",
20 srcs = ["config_test.go"],
21 data = glob(["testdata/**"]),
22 embed = [":lift"],
23 deps = [
24 "//pkg/lib/cli/sh",
25 "@com_github_stretchr_testify//assert",
26 "@in_gopkg_yaml_v3//:yaml_v3",
27 "@io_bazel_rules_go//go/tools/bazel:go_default_library",
28 ],
29)
View as plain text