From 7036239fd837085d3a367c62b6857bb0c711dccc Mon Sep 17 00:00:00 2001 From: yibin87 Date: Thu, 19 Dec 2024 11:49:45 +0800 Subject: [PATCH] Remove rustproto lines when generate cpp files Signed-off-by: yibin87 --- scripts/generate-cpp.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/generate-cpp.sh b/scripts/generate-cpp.sh index 3bdd17cd..f970af90 100755 --- a/scripts/generate-cpp.sh +++ b/scripts/generate-cpp.sh @@ -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} }