anki/qt/aqt/data/web/js/vendor/BUILD.bazel
2020-12-30 12:16:59 +01:00

31 lines
588 B
Python

load("//ts:jquery.bzl", "copy_jquery")
load("//ts:jquery-ui.bzl", "copy_jquery_ui")
copy_jquery(
name = "jquery",
visibility = ["//visibility:public"],
)
copy_jquery_ui(
name = "jquery-ui",
visibility = ["//visibility:public"],
)
files = [
"jquery",
"jquery-ui",
]
directories = [
"mathjax",
]
filegroup(
name = "vendor",
srcs = glob(["*.js"])
+ ["//qt/aqt/data/web/js/vendor:{}".format(file) for file in files]
+ ["//qt/aqt/data/web/js/vendor/{}".format(dir) for dir in directories],
visibility = ["//qt:__subpackages__"],
)