2021-02-02 18:20:11 +01:00
|
|
|
load("//ts:copy.bzl", "copy_files_into_group")
|
2020-11-01 05:26:58 +01:00
|
|
|
|
2021-04-12 06:18:30 +02:00
|
|
|
_pages = [
|
|
|
|
"graphs",
|
|
|
|
"congrats",
|
2021-04-25 10:40:02 +02:00
|
|
|
"deckoptions",
|
2021-04-12 06:18:30 +02:00
|
|
|
]
|
2020-11-01 05:26:58 +01:00
|
|
|
|
2021-04-12 06:18:30 +02:00
|
|
|
[copy_files_into_group(
|
|
|
|
name = name + "_page",
|
2020-11-01 05:26:58 +01:00
|
|
|
srcs = [
|
2021-04-12 06:18:30 +02:00
|
|
|
name + "-base.css",
|
|
|
|
name + ".css",
|
|
|
|
name + ".html",
|
|
|
|
name + ".js",
|
2020-11-01 05:26:58 +01:00
|
|
|
],
|
2021-04-20 09:33:46 +02:00
|
|
|
dev_srcs = [
|
|
|
|
name + ".js.map",
|
|
|
|
],
|
2021-04-12 06:18:30 +02:00
|
|
|
package = "//ts/" + name,
|
|
|
|
) for name in _pages]
|
2020-11-01 05:26:58 +01:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "pages",
|
2021-04-12 06:18:30 +02:00
|
|
|
srcs = [name + "_page" for name in _pages],
|
2020-11-01 05:26:58 +01:00
|
|
|
visibility = ["//qt:__subpackages__"],
|
|
|
|
)
|