We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6188942 commit 8d91c91Copy full SHA for 8d91c91
BUILD.bazel
@@ -0,0 +1,16 @@
1
+# Bazel support is added to enable projects that use Bazel to easily
2
+# access the test suite, and file groups without having the need to float
3
+# a patch on top of WPT.
4
+#
5
+# In order to iterate over the files inside a subfolder of WPT, we expose
6
+# the globs in the `tests.bzl` file.
7
8
+# In order to format and lint a bazel file, you can use the following command:
9
+# > buildifier -mode=check BUILD.bazel tests.bzl
10
+load("//:tests.bzl", "directories")
11
+
12
+[filegroup(
13
+ name = dir,
14
+ srcs = glob(["{}/**/*".format(dir)]),
15
+ visibility = ["//visibility:public"],
16
+) for dir in directories]
0 commit comments