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

38 lines
686 B
Python
Raw Normal View History

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")
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",
)
filegroup(
name = "css",
srcs = [
"core.css",
"css_local",
2021-01-31 19:03:40 +01:00
"editor",
],
visibility = ["//qt:__subpackages__"],
)