mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Get rid of the website symlink forest (#234)
This commit is contained in:
@@ -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__"],
|
||||
)
|
||||
|
||||
@@ -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
@@ -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__"],
|
||||
)
|
||||
|
||||
@@ -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"],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user