aboutsummaryrefslogtreecommitdiff
path: root/examples/bzlmod/py_proto_library/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bzlmod/py_proto_library/BUILD.bazel')
-rw-r--r--examples/bzlmod/py_proto_library/BUILD.bazel18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/bzlmod/py_proto_library/BUILD.bazel b/examples/bzlmod/py_proto_library/BUILD.bazel
new file mode 100644
index 0000000..d0bc683
--- /dev/null
+++ b/examples/bzlmod/py_proto_library/BUILD.bazel
@@ -0,0 +1,18 @@
+load("@rules_python//python:py_test.bzl", "py_test")
+
+py_test(
+ name = "pricetag_test",
+ srcs = ["test.py"],
+ main = "test.py",
+ deps = [
+ "//py_proto_library/example.com/proto:pricetag_proto_py_pb2",
+ ],
+)
+
+py_test(
+ name = "message_test",
+ srcs = ["message_test.py"],
+ deps = [
+ "//py_proto_library/example.com/another_proto:message_proto_py_pb2",
+ ],
+)