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 | 717aad4 | 2021-07-11 16:03:43 +0000 | [diff] [blame] | 7 | "animations.js", |
Serge Bazanski | 4d7b2f0 | 2021-05-31 22:33:51 +0000 | [diff] [blame] | 8 | "landing.css", |
Serge Bazanski | 717aad4 | 2021-07-11 16:03:43 +0000 | [diff] [blame] | 9 | "led.js", |
| 10 | "neon-syrenka.svg", |
Serge Bazanski | 1f06230 | 2021-06-01 22:24:34 +0000 | [diff] [blame] | 11 | "@com_npmjs_leaflet//:distfiles", |
Serge Bazanski | 717aad4 | 2021-07-11 16:03:43 +0000 | [diff] [blame] | 12 | "space.jpg", |
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 | ) |