This script was written to make it easy to compile protobuf files into Golang. It depends only on docker
and bash
which should make it very portable.
To run this script just copy it to your project (you can add it to version control) and then run it passing as argument the relative or absolute path of the directory containing your .proto
files, e.g.:
bash protogen.sh my_proto_dir/