0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-23 22:27:35 -05:00
zot/pkg/extensions/search/cve/BUILD.bazel

28 lines
769 B
Text
Raw Normal View History

2020-06-25 03:21:47 -05:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"cve.go",
"models.go",
],
importpath = "github.com/anuvu/zot/pkg/extensions/search/cve",
visibility = ["//visibility:public"],
deps = [
"//pkg/log:go_default_library",
"@com_github_aquasecurity_trivy//integration:go_default_library",
"@com_github_aquasecurity_trivy//integration/config:go_default_library",
],
)
2020-06-25 03:21:47 -05:00
go_test(
name = "go_default_test",
srcs = ["cve_test.go"],
data = glob(["testdata/**"]),
embed = [":go_default_library"],
deps = [
"//pkg/log:go_default_library",
"@com_github_smartystreets_goconvey//convey:go_default_library",
],
)