diff --git a/tests/bazelignore/.bazelignore b/tests/bazelignore/.bazelignore new file mode 100644 index 000000000..a9cbcb482 --- /dev/null +++ b/tests/bazelignore/.bazelignore @@ -0,0 +1,3 @@ +file1 +sub1 +sub2/file1 diff --git a/tests/bazelignore/BUILD.out b/tests/bazelignore/BUILD.out new file mode 100644 index 000000000..fa5b576e4 --- /dev/null +++ b/tests/bazelignore/BUILD.out @@ -0,0 +1,10 @@ +filegroup( + name = "all_files", + testonly = True, + srcs = [ + ".bazelignore", + "WORKSPACE", + "//sub2:all_files", + ], + visibility = ["//visibility:public"], +) diff --git a/tests/bazelignore/WORKSPACE b/tests/bazelignore/WORKSPACE new file mode 100644 index 000000000..e69de29bb diff --git a/tests/bazelignore/file1 b/tests/bazelignore/file1 new file mode 100644 index 000000000..e69de29bb diff --git a/tests/bazelignore/sub1/file2 b/tests/bazelignore/sub1/file2 new file mode 100644 index 000000000..e69de29bb diff --git a/tests/bazelignore/sub2/BUILD.out b/tests/bazelignore/sub2/BUILD.out new file mode 100644 index 000000000..aa8a95f07 --- /dev/null +++ b/tests/bazelignore/sub2/BUILD.out @@ -0,0 +1,6 @@ +filegroup( + name = "all_files", + testonly = True, + srcs = ["file3"], + visibility = ["//visibility:public"], +) diff --git a/tests/bazelignore/sub2/file1 b/tests/bazelignore/sub2/file1 new file mode 100644 index 000000000..e69de29bb diff --git a/tests/bazelignore/sub2/file3 b/tests/bazelignore/sub2/file3 new file mode 100644 index 000000000..e69de29bb