diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b99c5ca7..e1ac3e70 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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