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 = "static", |
| 6 | srcs = [ |
Serge Bazanski | 4d7b2f0 | 2021-05-31 22:33:51 +0000 | [diff] [blame^] | 7 | "leaflet.css", |
| 8 | "leaflet.js", |
| 9 | "landing.css", |
| 10 | "syrenka.png", |
| 11 | "images/marker-icon.png", |
| 12 | "images/marker-shadow.png", |
Serge Bazanski | a767467 | 2021-05-30 21:09:34 +0000 | [diff] [blame] | 13 | ], |
| 14 | package = "static", |
| 15 | ) |
| 16 | |
| 17 | # keep |
| 18 | go_library( |
| 19 | name = "static_go", |
| 20 | srcs = [":static"], |
| 21 | importpath = "code.hackerspace.pl/hscloud/hswaw/site/static", |
| 22 | visibility = ["//visibility:public"], |
| 23 | ) |