stop regenerating v1 protobufs
This commit is contained in:
parent
7860b956ff
commit
cd266477fb
1 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
build:
|
||||
rm types/v1/* types/v2/* -rf
|
||||
touch types/v1/__init__.py types/v2/__init__.py
|
||||
cd types/v1/ && protoc --python_out=. -I ../../../../../types/v1/proto/ ../../../../../types/v1/proto/*.proto
|
||||
sed -e 's/^import\ \(.*\)_pb2\ /from . import\ \1_pb2\ /g' -i types/v1/*.py
|
||||
rm types/v2/* -rf
|
||||
touch types/v2/__init__.py
|
||||
cd types/v2/ && protoc --python_out=. -I ../../../../../types/v2/proto/ ../../../../../types/v2/proto/*.proto
|
||||
sed -e 's/^import\ \(.*\)_pb2\ /from . import\ \1_pb2\ /g' -i types/v2/*.py
|
||||
|
|
Loading…
Reference in a new issue