2020-11-01 05:26:58 +01:00
|
|
|
load("@bazel_skylib//rules:copy_file.bzl", "copy_file")
|
2021-01-31 19:03:40 +01:00
|
|
|
load("//qt/aqt/data/web/pages:defs.bzl", "copy_page")
|
2020-11-01 05:26:58 +01:00
|
|
|
load("compile_sass.bzl", "compile_sass")
|
|
|
|
|
|
|
|
compile_sass(
|
|
|
|
srcs = glob(
|
|
|
|
["*.scss"],
|
|
|
|
exclude = ["_*.scss"],
|
|
|
|
),
|
|
|
|
group = "css_local",
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
copy_file(
|
|
|
|
name = "core_css",
|
|
|
|
src = "//ts/sass:core.css",
|
|
|
|
out = "core.css",
|
|
|
|
)
|
|
|
|
|
2021-01-31 19:03:40 +01:00
|
|
|
copy_page(
|
|
|
|
name = "editor",
|
|
|
|
srcs = [
|
|
|
|
"editor.css",
|
|
|
|
"editable.css",
|
|
|
|
],
|
|
|
|
package = "//ts/editor",
|
|
|
|
)
|
|
|
|
|
2020-11-01 05:26:58 +01:00
|
|
|
filegroup(
|
|
|
|
name = "css",
|
|
|
|
srcs = [
|
|
|
|
"core.css",
|
|
|
|
"css_local",
|
2021-01-31 19:03:40 +01:00
|
|
|
"editor",
|
2020-11-01 05:26:58 +01:00
|
|
|
],
|
|
|
|
visibility = ["//qt:__subpackages__"],
|
|
|
|
)
|