Some basic improvements to gen_protos.sh plus adds some basic
install instructions to the README.
gen_protos.sh updates inlcude:
Adds shebang
Uses default GOPATH if one isn't set
Tries to use readlink -f to determine protobuf install path
falls back to realpath if readlink doesn't exist.
[Note: this is not great. readlink -f works most places but
not on OSX. with a brew install coreutils OSX gets greadlink
which supports the -f flag and realpath which does the same
thing. I spent a bunch of time trying to write a more portable
realpath type sh script, but gave up. I think since we already
require python we should just write this script in python.]
Some basic improvements to gen_protos.sh plus adds some basic install instructions to the README.
gen_protos.sh updates inlcude:
brew install coreutils
OSX gets greadlink which supports the -f flag and realpath which does the same thing. I spent a bunch of time trying to write a more portable realpath type sh script, but gave up. I think since we already require python we should just write this script in python.]