2018-11-04 04:01:10 -05:00
|
|
|
build:
|
2018-11-05 20:53:56 -03:00
|
|
|
rm proto/* -rf
|
|
|
|
cd proto && protoc --python_out=. -I ../../../../types/proto/ ../../../../types/proto/*.proto
|
|
|
|
sed -e 's/^import\ \(.*\)_pb2\ /from . import\ \1_pb2\ /g' -i proto/*.py
|
|
|
|
touch proto/__init__.py
|
|
|
|
|