Skip to content

Commit 8d91c91

Browse files
committed
add bazel config file
1 parent 6188942 commit 8d91c91

File tree

2 files changed

+568
-0
lines changed

2 files changed

+568
-0
lines changed

BUILD.bazel

+16
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)