constellation/hack/logcollector/BUILD.bazel

16 lines
415 B
Python
Raw Normal View History

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "logcollector_lib",
srcs = ["main.go"],
importpath = "github.com/edgelesssys/constellation/v2/hack/logcollector",
visibility = ["//visibility:private"],
deps = ["//hack/logcollector/cmd"],
)
go_binary(
name = "logcollector",
embed = [":logcollector_lib"],
visibility = ["//visibility:public"],
)