BUILD 961 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
  5. py_library(
  6. name = "github_helpers",
  7. srcs = ["github_helpers.py"],
  8. )
  9. py_test(
  10. name = "github_helpers_test",
  11. srcs = ["github_helpers_test.py"],
  12. deps = [":github_helpers"],
  13. )
  14. py_binary(
  15. name = "pr_comments",
  16. srcs = ["pr_comments.py"],
  17. deps = ["github_helpers"],
  18. )
  19. py_test(
  20. name = "pr_comments_test",
  21. srcs = ["pr_comments_test.py"],
  22. deps = [":pr_comments"],
  23. )
  24. py_binary(
  25. name = "update_label_access",
  26. srcs = ["update_label_access.py"],
  27. deps = ["github_helpers"],
  28. )
  29. py_test(
  30. name = "update_label_access_test",
  31. srcs = ["update_label_access_test.py"],
  32. deps = [
  33. ":pr_comments",
  34. ":update_label_access",
  35. ],
  36. )