Get rid of the website symlink forest (#234)

This commit is contained in:
Jon Meow
2020-12-29 17:34:08 -08:00
committed by GitHub
parent b3ece12b74
commit ef6505a624
4 changed files with 18 additions and 3 deletions
+6
View File
@@ -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__"],
)
+9
View File
@@ -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__"],
)
+1 -1
View File
@@ -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__"],
)
+2 -2
View File
@@ -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"],
)