1
0
Fork 0
hscloud/hswaw/oodviewer/templates/BUILD.bazel

21 lines
482 B
Python

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