Skip to content

Commit

Permalink
fix: work with latest kitex (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaost authored Nov 15, 2024
1 parent 2ac59f8 commit 5b1bd36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ go get github.com/cloudwego/kitex@develop

if [[ -n $LOCAL_REPO ]]; then
go mod edit -replace github.com/cloudwego/kitex=${LOCAL_REPO}
go mod edit -replace github.com/cloudwego/kitex/pkg/protocol/bthrift=${LOCAL_REPO}/pkg/protocol/bthrift
fi

go mod tidy
Expand Down
1 change: 1 addition & 0 deletions thrift_streaming/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function generate_new_thriftgo_old_kitex() {
go get github.com/cloudwego/kitex@develop
if [ -d "$LOCAL_REPO" ]; then
go mod edit -replace github.com/cloudwego/kitex=$LOCAL_REPO
go mod edit -replace github.com/cloudwego/kitex/pkg/protocol/bthrift=${LOCAL_REPO}/pkg/protocol/bthrift
fi

generate_new
Expand Down

0 comments on commit 5b1bd36

Please sign in to comment.