Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrishna Ersson <2743723+kersson@users.noreply.github.com>2023-08-15 22:51:01 +0300
committerPetteri Aimonen <jpa@github.mail.kapsi.fi>2023-08-31 09:14:55 +0300
commit9c11463770beab0c6f244999e66676f9bca866fd (patch)
treeb20d1fc232ffc9691bc621d2469d83faeacb417a
parentd9ecc77395f09cd8cafd8b63cb82a27e6b02c04a (diff)
Add missing source and data files
-rw-r--r--BUILD.bazel11
1 files changed, 9 insertions, 2 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index 50b616c..5ca4acf 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -37,10 +37,17 @@ copy_file(
py_binary(
name = "protoc-gen-nanopb",
- srcs = [
- "generator/nanopb_generator.py",
+ srcs = glob([
+ "generator/**/*.py",
+ ]) + [
":protoc-gen-nanopb.py",
],
+ data = glob([
+ "generator/**/*.proto",
+ ]),
+ imports = [
+ "generator",
+ ],
deps = [
requirement("grpcio-tools"),
],