blob: be98820f18ab0953bf186cda4540f4cd2e1db722 [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 = "templates_data",
srcs = glob(["*.html"]),
package = "templates",
flatten = True,
)
go_library(
name = "go_default_library",
srcs = [
":templates_data", # keep
],
visibility = [
"//hswaw/oodviewer:__pkg__",
],
importpath = "code.hackerspace.pl/hscloud/hswaw/oodviewer/templates",
)