mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-12 17:34:28 -05:00
20 lines
498 B
Python
20 lines
498 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
load("//bazel/go:go_test.bzl", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "sums",
|
||
|
srcs = ["sums.go"],
|
||
|
importpath = "github.com/edgelesssys/constellation/v2/hack/oci-pin/internal/sums",
|
||
|
visibility = ["//hack/oci-pin:__subpackages__"],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "sums_test",
|
||
|
srcs = ["sums_test.go"],
|
||
|
embed = [":sums"],
|
||
|
deps = [
|
||
|
"@com_github_stretchr_testify//assert",
|
||
|
"@com_github_stretchr_testify//require",
|
||
|
],
|
||
|
)
|