BUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. python_version = "PY3",
  13. deps = [":github_helpers"],
  14. )
  15. py_binary(
  16. name = "pr_comments",
  17. srcs = ["pr_comments.py"],
  18. python_version = "PY3",
  19. deps = ["github_helpers"],
  20. )
  21. py_test(
  22. name = "pr_comments_test",
  23. srcs = ["pr_comments_test.py"],
  24. python_version = "PY3",
  25. deps = [":pr_comments"],
  26. )
  27. py_binary(
  28. name = "update_label_access",
  29. srcs = ["update_label_access.py"],
  30. python_version = "PY3",
  31. deps = ["github_helpers"],
  32. )
  33. py_test(
  34. name = "update_label_access_test",
  35. srcs = ["update_label_access_test.py"],
  36. python_version = "PY3",
  37. deps = [
  38. ":pr_comments",
  39. ":update_label_access",
  40. ],
  41. )