mirror of
https://github.com/google/pebble.git
synced 2025-08-04 05:28:12 -04:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
16
third_party/nanopb/generator/protoc-gen-nanopb-py2
vendored
Executable file
16
third_party/nanopb/generator/protoc-gen-nanopb-py2
vendored
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
# This file is used to invoke nanopb_generator.py2 as a plugin
|
||||
# to protoc on Linux and other *nix-style systems.
|
||||
#
|
||||
# The difference from protoc-gen-nanopb is that this executes with Python 2.
|
||||
#
|
||||
# Use it like this:
|
||||
# protoc --plugin=protoc-gen-nanopb=..../protoc-gen-nanopb-py2 --nanopb_out=dir foo.proto
|
||||
#
|
||||
# Note that if you use the binary package of nanopb, the protoc
|
||||
# path is already set up properly and there is no need to give
|
||||
# --plugin= on the command line.
|
||||
|
||||
MYPATH=$(dirname "$0")
|
||||
exec "$MYPATH/nanopb_generator.py2" --protoc-plugin
|
Loading…
Add table
Add a link
Reference in a new issue