diff --git a/scripts/protopackage.sh b/scripts/protopackage.sh index e55befe35..477e370be 100755 --- a/scripts/protopackage.sh +++ b/scripts/protopackage.sh @@ -1,8 +1,10 @@ #!/usr/bin/sh set -eo pipefail -# This script appends the "option go_package" proto option to the file located at $FNAME - +# This script appends the "option go_package" proto option to the file located at $FNAME. +# This option is not included in the proto files to allow the files to more easily +# be hosted in github.com/tendermint/spec and shared between other repos. +# This option specifies what the package will be named when imported by other packages. FNAME=$1 MODNAME=$(echo $2| sed 's/\//\\\//g')