From 4821e7f457ebd28aabcbdea726ebce11265f402f Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sun, 8 Sep 2013 19:55:05 +0300 Subject: Add support for running the nanopb generator as protoc plugin. Will be used to implement issue 47. For now, symlink nanopb_generator.py as protoc-gen-nanopb and use protoc --nanopb_out=. to call it. --- generator/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'generator/Makefile') diff --git a/generator/Makefile b/generator/Makefile index 161ef387..f2b02a95 100644 --- a/generator/Makefile +++ b/generator/Makefile @@ -1,2 +1,5 @@ nanopb_pb2.py: nanopb.proto protoc --python_out=. -I /usr/include -I . nanopb.proto + +plugin_pb2.py: plugin.proto + protoc --python_out=. -I /usr/include -I . plugin.proto -- cgit 1.2.3-korg