blob: 8d3bcdc5418ea6d669f4a2d7ec9f42e021afcdb1 [file] [log] [blame]
Serge Bazanskia7674672021-05-30 21:09:34 +00001load("@io_bazel_rules_go//extras:embed_data.bzl", "go_embed_data")
voltar1305717112024-01-15 13:17:37 +01002load("@io_bazel_rules_go//go:def.bzl", "go_library")
Serge Bazanskia7674672021-05-30 21:09:34 +00003
4go_embed_data(
5 name = "static",
voltar1305717112024-01-15 13:17:37 +01006 srcs = glob(
7 [
8 "*",
9 ],
10 ["BUILD.bazel"],
11 ) + [
Serge Bazanski19c8b602022-02-01 09:36:47 +000012 "@com_gstatic_fonts_comfortaa_400//file:font.ttf",
13 "@com_gstatic_fonts_inconsolata_400//file:font.ttf",
14 "@com_gstatic_fonts_inconsolata_700//file:font.ttf",
15 "@com_npmjs_leaflet//:distfiles",
Serge Bazanskia7674672021-05-30 21:09:34 +000016 ],
17 package = "static",
18)
19
20# keep
21go_library(
22 name = "static_go",
23 srcs = [":static"],
24 importpath = "code.hackerspace.pl/hscloud/hswaw/site/static",
25 visibility = ["//visibility:public"],
26)