sforkowany z mirror/meshtastic-firmware
12 wiersze
458 B
Bash
Executable File
12 wiersze
458 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "This script requires https://jpa.kapsi.fi/nanopb/download/ version 0.4.1"
|
|
# the nanopb tool seems to require that the .options file be in the current directory!
|
|
cd proto
|
|
../../nanopb-0.4.1-linux-x86/generator-bin/protoc --nanopb_out=-v:../src/mesh -I=../proto *.proto
|
|
|
|
echo "Regenerating protobuf documentation - if you see an error message"
|
|
echo "you can ignore it unless doing a new protobuf release to github."
|
|
bin/regen-docs.sh |