BUILD 967 B

123456789101112131415161718192021222324252627282930313233343536373839
  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 = "proposals",
  7. srcs = ["proposals.py"],
  8. )
  9. py_test(
  10. name = "proposals_test",
  11. srcs = ["proposals_test.py"],
  12. data = ["//proposals:md_files"],
  13. python_version = "PY3",
  14. deps = [":proposals"],
  15. )
  16. py_binary(
  17. name = "new_proposal",
  18. srcs = ["new_proposal.py"],
  19. python_version = "PY3",
  20. )
  21. py_test(
  22. name = "new_proposal_test",
  23. srcs = ["new_proposal_test.py"],
  24. data = ["//proposals:md_files"],
  25. python_version = "PY3",
  26. deps = [":new_proposal"],
  27. )
  28. # This is a directly runnable script, but should not be run via bazel.
  29. py_library(
  30. name = "update_proposal_list",
  31. srcs = ["update_proposal_list.py"],
  32. deps = [":proposals"],
  33. )