diff --git a/BUILD b/BUILD index 0340ab965ad2..1e01931ac56e 100644 --- a/BUILD +++ b/BUILD @@ -1,3 +1,9 @@ # Part of the Carbon Language project, under the Apache License v2.0 with LLVM # Exceptions. See /LICENSE for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + +filegroup( + name = "website_content", + srcs = glob(["*"]), + visibility = ["//website/jekyll:__pkg__"], +) diff --git a/docs/BUILD b/docs/BUILD new file mode 100644 index 000000000000..f5b13ae5db3a --- /dev/null +++ b/docs/BUILD @@ -0,0 +1,9 @@ +# Part of the Carbon Language project, under the Apache License v2.0 with LLVM +# Exceptions. See /LICENSE for license information. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + +filegroup( + name = "website_content", + srcs = glob(["**/*.md"]), + visibility = ["//website/jekyll:__pkg__"], +) diff --git a/proposals/BUILD b/proposals/BUILD index c23b26a7662b..751f176e7ca3 100644 --- a/proposals/BUILD +++ b/proposals/BUILD @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception filegroup( - name = "md_files", + name = "website_content", srcs = glob(["*.md"]), visibility = ["//proposals/scripts:__pkg__", "//website/jekyll:__pkg__"], ) diff --git a/proposals/scripts/BUILD b/proposals/scripts/BUILD index d94acfb46b1e..b33d4e1fea44 100644 --- a/proposals/scripts/BUILD +++ b/proposals/scripts/BUILD @@ -13,7 +13,7 @@ py_library( py_test( name = "proposals_test", srcs = ["proposals_test.py"], - data = ["//proposals:md_files"], + data = ["//proposals:website_content"], python_version = "PY3", deps = [":proposals"], ) @@ -27,7 +27,7 @@ py_binary( py_test( name = "new_proposal_test", srcs = ["new_proposal_test.py"], - data = ["//proposals:md_files"], + data = ["//proposals:website_content"], python_version = "PY3", deps = [":new_proposal"], )