BUILD 849 B

1234567891011121314151617181920212223242526272829303132333435
  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. deps = [":proposals"],
  13. )
  14. py_binary(
  15. name = "new_proposal",
  16. srcs = ["new_proposal.py"],
  17. )
  18. py_test(
  19. name = "new_proposal_test",
  20. srcs = ["new_proposal_test.py"],
  21. data = ["//proposals:template.md"],
  22. deps = [":new_proposal"],
  23. )
  24. # This is a directly runnable script, but should not be run via bazel.
  25. py_library(
  26. name = "update_proposal_list",
  27. srcs = ["update_proposal_list.py"],
  28. deps = [":proposals"],
  29. )