ipld-eth-server/vendor/github.com/dgraph-io/badger/pb/gen.sh
2019-12-02 13:24:51 -06:00

8 lines
200 B
Bash

#!/bin/bash
# You might need to go get -v github.com/gogo/protobuf/...
protos=${GOPATH-$HOME/go}/src/github.com/dgraph-io/badger/pb
pushd $protos > /dev/null
protoc --gogofaster_out=. -I=. pb.proto