mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 16:39:38 -05:00
31 lines
994 B
Python
31 lines
994 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
||
|
load("//bazel/go:go_test.bzl", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "bazelfiles",
|
||
|
srcs = ["files.go"],
|
||
|
importpath = "github.com/edgelesssys/constellation/v2/hack/bazel-deps-mirror/internal/bazelfiles",
|
||
|
visibility = ["//hack/bazel-deps-mirror:__subpackages__"],
|
||
|
deps = [
|
||
|
"@com_github_bazelbuild_buildtools//build",
|
||
|
"@com_github_hexops_gotextdiff//:gotextdiff",
|
||
|
"@com_github_hexops_gotextdiff//myers",
|
||
|
"@com_github_hexops_gotextdiff//span",
|
||
|
"@com_github_spf13_afero//:afero",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "bazelfiles_test",
|
||
|
srcs = ["files_test.go"],
|
||
|
embed = [":bazelfiles"],
|
||
|
deps = [
|
||
|
"@com_github_bazelbuild_buildtools//build",
|
||
|
"@com_github_bazelbuild_buildtools//edit",
|
||
|
"@com_github_spf13_afero//:afero",
|
||
|
"@com_github_stretchr_testify//assert",
|
||
|
"@com_github_stretchr_testify//require",
|
||
|
"@org_uber_go_goleak//:goleak",
|
||
|
],
|
||
|
)
|