blob: 401487b2694bd0a34fded4ae4c319549f722e7b7 [file] [log] [blame]
Sergiusz Bazanski838cf652019-07-16 23:31:25 +02001load("@io_bazel_rules_go//go:def.bzl", "go_library")
2load("@io_bazel_rules_go//extras:embed_data.bzl", "go_embed_data")
3
4go_embed_data(
5 name = "assets",
6 srcs = glob(["*.js"]),
7 package = "assets",
8 flatten = True,
9)
10
11# keep
12go_library(
13 name = "go_default_library",
14 srcs = [":assets"],
Sergiusz Bazanski61594bb2019-07-21 15:20:51 +020015 importpath = "code.hackerspace.pl/hscloud/dc/topo/assets",
16 visibility = ["//dc/topo:__pkg__"],
Sergiusz Bazanski838cf652019-07-16 23:31:25 +020017)