...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "cmp",
5 srcs = [
6 "diff.go",
7 "doc.go",
8 "hashes.go",
9 ],
10 importpath = "edge-infra.dev/pkg/f8n/warehouse/oci/cmp",
11 visibility = ["//visibility:public"],
12 deps = [
13 "//pkg/f8n/warehouse/oci",
14 "//pkg/f8n/warehouse/oci/layer",
15 "//pkg/f8n/warehouse/oci/walk",
16 "@com_github_google_go_containerregistry//pkg/v1:pkg",
17 ],
18)
19
20go_test(
21 name = "cmp_test",
22 srcs = [
23 "cmp_test.go",
24 "diff_test.go",
25 ],
26 deps = [
27 ":cmp",
28 "//pkg/f8n/warehouse/oci",
29 "//test/fixtures",
30 "@com_github_google_go_containerregistry//pkg/name",
31 "@com_github_stretchr_testify//assert",
32 ],
33)
View as plain text