Skip to content

Commit

Permalink
Remove rustproto lines when generate cpp files (#351)
Browse files Browse the repository at this point in the history
Signed-off-by: yibin87 <[email protected]>
  • Loading branch information
yibin87 authored Dec 19, 2024
1 parent 8408c76 commit 07c1d4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/generate-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ function clean_up()
local file=$1
sed_inplace '/gogo.proto/d' ${file}
sed_inplace '/option\ (gogoproto/d' ${file}
sed_inplace '/rustproto.proto/d' ${file}
sed_inplace '/option\ (rustproto/d' ${file}
sed_inplace -e 's/\[.*gogoproto.*\]//g' ${file}
}

Expand Down

0 comments on commit 07c1d4c

Please sign in to comment.