Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (11 sloc) 232 Bytes
#!/usr/bin/env bash
# DataModel.proto转换成自己
cd $(cd `dirname $0`; pwd)
for i in find *.proto
do
if [ $i == "find" ]; then
continue
fi
protoc --swift_out=. $i
echo "生成文件:$i.pb.swift"
done
You can’t perform that action at this time.