Serge Bazanski | a767467 | 2021-05-30 21:09:34 +0000 | [diff] [blame] | 1 | load("@io_bazel_rules_go//go:def.bzl", "go_library") |
| 2 | load("@io_bazel_rules_go//extras:embed_data.bzl", "go_embed_data") |
| 3 | |
| 4 | go_embed_data( |
| 5 | name = "templates", |
| 6 | srcs = [ |
Serge Bazanski | 4d7b2f0 | 2021-05-31 22:33:51 +0000 | [diff] [blame] | 7 | "index.html", |
Serge Bazanski | a767467 | 2021-05-30 21:09:34 +0000 | [diff] [blame] | 8 | ], |
| 9 | package = "templates", |
| 10 | ) |
| 11 | |
| 12 | # keep |
| 13 | go_library( |
| 14 | name = "templates_go", |
| 15 | srcs = [":templates"], |
| 16 | importpath = "code.hackerspace.pl/hscloud/hswaw/site/templates", |
| 17 | visibility = ["//visibility:public"], |
| 18 | ) |