Skip to content

Commit

Permalink
actually remove the license porting code
Browse files Browse the repository at this point in the history
  • Loading branch information
lostluck committed Dec 20, 2024
1 parent 3f68e23 commit 3a8a2b2
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions sdks/go/scripts/genproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,6 @@ GEN_DIR=$PWD
go install google.golang.org/grpc/cmd/[email protected]
go install google.golang.org/protobuf/cmd/[email protected]

# function insert_license_header() {
# local depth="$1"
# # protoc-gen-go-grpc does not yet output comments from the original
# # proto file so we need to manually add the license header.
# while IFS= read -d $'\0' -r file ; do
# tmp_file=$(mktemp)
# echo "$LICENSE" > $tmp_file
# cat $file >> $tmp_file
# mv $tmp_file $file
# done < <(find $GEN_DIR $depth -iname "*grpc.pb.go" -print0)
# }

function gen_go_sdk_protos() {
LIBRARY_PATH="${PWD##${SDK_PATH}/}"
PROTOS="$LIBRARY_PATH/*.proto"
Expand Down

0 comments on commit 3a8a2b2

Please sign in to comment.