anki/qt/aqt/data/web/pages/BUILD.bazel
2021-04-25 19:02:30 +10:00

28 lines
506 B
Python

load("//ts:copy.bzl", "copy_files_into_group")
_pages = [
"graphs",
"congrats",
"deckoptions",
]
[copy_files_into_group(
name = name + "_page",
srcs = [
name + "-base.css",
name + ".css",
name + ".html",
name + ".js",
],
dev_srcs = [
name + ".js.map",
],
package = "//ts/" + name,
) for name in _pages]
filegroup(
name = "pages",
srcs = [name + "_page" for name in _pages],
visibility = ["//qt:__subpackages__"],
)