anki/qt/aqt/data/web/pages/BUILD.bazel

28 lines
506 B
Python
Raw Normal View History

load("//ts:copy.bzl", "copy_files_into_group")
_pages = [
"graphs",
"congrats",
2021-04-25 10:40:02 +02:00
"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__"],
)