mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
update proto
This commit is contained in:
parent
b6d3623dd7
commit
610a66395a
@ -13,5 +13,18 @@ for ((i = 0; i < ${#all_proto[*]}; i++)); do
|
||||
done
|
||||
echo "proto file generate success"
|
||||
|
||||
|
||||
j=0
|
||||
for file in $(find ./Open_IM -name "*.go"); do # Not recommended, will break on whitespace
|
||||
filelist[j]=$file
|
||||
j=`expr $j + 1`
|
||||
done
|
||||
|
||||
|
||||
for ((i = 0; i < ${#filelist[*]}; i++)); do
|
||||
proto=${filelist[$i]}
|
||||
cp $proto ${proto#*./Open_IM/pkg/proto/}
|
||||
done
|
||||
rm Open_IM -rf
|
||||
#find ./ -type f -path "*.pb.go"|xargs sed -i 's/\".\/sdk_ws\"/\"Open_IM\/pkg\/proto\/sdk_ws\"/g'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user