Skip to content

Commit

Permalink
remove NET_ prefix to reflect IronCore naming
Browse files Browse the repository at this point in the history
  • Loading branch information
vlorinc committed May 24, 2024
1 parent 82243a0 commit 99a4f47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions go/dpservice-go/hack/generate-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ PROTOC_GEN_GO_GRPC="$PROTOC_GEN_GO_PROTOC_GEN_GO_GRPC"

BASEDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

NET_DPSERVICE_DIR="../.."
cd "$NET_DPSERVICE_DIR"
DPSERVICE_DIR="../.."
cd "$DPSERVICE_DIR"
git describe --tags > ./go/dpservice-go/proto/generated_from.txt
cd ./go/dpservice-go/

echo "Generating protobuf"
export PATH="$PATH:$(dirname "$PROTOC_GEN_GO")"
export PATH="$PATH:$(dirname "$PROTOC_GEN_GO_GRPC")"
protoc --proto_path="$NET_DPSERVICE_DIR" \
protoc --proto_path="$DPSERVICE_DIR" \
--go_out="$BASEDIR"/.. \
--go_opt=paths=source_relative \
--go-grpc_out="$BASEDIR"/.. \
--go-grpc_opt=paths=source_relative \
"$NET_DPSERVICE_DIR"/proto/dpdk.proto
"$DPSERVICE_DIR"/proto/dpdk.proto

for file in "$BASEDIR"/../proto/*.pb.go; do
boilerplate="$(cat "$BASEDIR"/boilerplate.go.txt)"
Expand Down

0 comments on commit 99a4f47

Please sign in to comment.