2021-05-30 21:09:34 +00:00
|
|
|
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",
|
|
|
|
srcs = [
|
2021-05-31 22:33:51 +00:00
|
|
|
"index.html",
|
2021-05-30 21:09:34 +00:00
|
|
|
],
|
|
|
|
package = "templates",
|
|
|
|
)
|
|
|
|
|
|
|
|
# keep
|
|
|
|
go_library(
|
|
|
|
name = "templates_go",
|
|
|
|
srcs = [":templates"],
|
|
|
|
importpath = "code.hackerspace.pl/hscloud/hswaw/site/templates",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|