1
0
Fork 0

Update Protobuf build instructions

master
Philip O'Toole 3 years ago
parent 78f39a082e
commit 5f758266be

@ -49,9 +49,10 @@ go get -u github.com/golang/protobuf/protoc-gen-go
go install github.com/golang/protobuf/protoc-gen-go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
export SRC_DIR=$GOPATH/src/github.com/rqlite/rqlite/command
export DEST_DIR=$GOPATH/src
protoc -I=$SRC_DIR --go_out=$DEST_DIR $SRC_DIR/command.proto
SRC_DIR=$GOPATH/src/github.com/rqlite/rqlite/command protoc -I=$SRC_DIR --go_out=$DEST_DIR $SRC_DIR/command.proto
SRC_DIR=$GOPATH/src/github.com/rqlite/rqlite/cluster protoc -I=$SRC_DIR --go_out=$DEST_DIR $SRC_DIR/message.proto
```
### Speeding up the build process

Loading…
Cancel
Save