Add 'CAN-binder/libs/nanopb/' from commit '278ffb890e3d8722e4c7d824baaf221a1e375fc4'
[apps/agl-service-can-low-level.git] / CAN-binder / libs / nanopb / generator / protoc-gen-nanopb
1 #!/bin/sh
2
3 # This file is used to invoke nanopb_generator.py as a plugin
4 # to protoc on Linux and other *nix-style systems.
5 # Use it like this:
6 # protoc --plugin=protoc-gen-nanopb=..../protoc-gen-nanopb --nanopb_out=dir foo.proto
7 #
8 # Note that if you use the binary package of nanopb, the protoc
9 # path is already set up properly and there is no need to give
10 # --plugin= on the command line.
11
12 MYPATH=$(dirname "$0")
13 exec "$MYPATH/nanopb_generator.py" --protoc-plugin