Skip to content

Commit

Permalink
gen_proto
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <sunbingyi1992@gmail.com>
  • Loading branch information
sunby committed Dec 8, 2023
1 parent fca635b commit 89a58f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions proto/v2.2/gen_proto.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
SCRIPTS_DIR=$(dirname "$0")

PROTO_DIR=$SCRIPTS_DIR MILVUS_PROTO_DIR=$SCRIPTS_DIR

GOOGLE_PROTO_DIR="/home/sunby/Documents/milvus/cmake_build/thirdparty/protobuf/protobuf-src/src"
PROTO_DIR=$SCRIPTS_DIR
MILVUS_PROTO_DIR=$SCRIPTS_DIR

PROGRAM=$(basename "$0")
GOPATH=$(go env GOPATH)
Expand Down Expand Up @@ -34,7 +33,6 @@ mkdir -p proxypb
mkdir -p msgpb
mkdir -p federpb

protoc=/home/sunby/Documents/milvus/cmake_build/bin/protoc
# milvus.proto
${protoc} --proto_path=${MILVUS_PROTO_DIR} --proto_path=${GOOGLE_PROTO_DIR}\
--go_opt="Mmilvus.proto=github.com/milvus-io/birdwatcher/proto/v2.2/milvuspb" \
Expand Down

0 comments on commit 89a58f4

Please sign in to comment.