blob: f16d6aa6ed3067a56325aee13f10d8236891b021 [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"]),
flatten = True,
package = "certs",
)
go_library(
name = "certs",
srcs = [
":certs_data", # keep
],
importpath = "code.hackerspace.pl/hscloud/cluster/certs", # keep
visibility = ["//visibility:public"],
)