blob: ca15f0fdb9f785b3a0fcc6e03b32520dd1d85cfa [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//extras:embed_data.bzl", "go_embed_data")
go_embed_data(
name = "certs_data",
srcs = glob(["*.crt"]),
package = "certs",
flatten = True,
)
go_library(
name = "go_default_library",
srcs = [
":certs_data", # keep
],
importpath = "code.hackerspace.pl/cluster/certs",
visibility = ["//visibility:public"],
)