Forráskód Böngészése

Get rid of the website symlink forest (#234)

Jon Meow 5 éve
szülő
commit
ef6505a624
4 módosított fájl, 18 hozzáadás és 3 törlés
  1. 6 0
      BUILD
  2. 9 0
      docs/BUILD
  3. 1 1
      proposals/BUILD
  4. 2 2
      proposals/scripts/BUILD

+ 6 - 0
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__"],
+)

+ 9 - 0
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__"],
+)

+ 1 - 1
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__"],
 )

+ 2 - 2
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"],
 )