lbry-sdk/lbrynet/schema/Makefile

7 lines
218 B
Makefile
Raw Normal View History

build:
2018-11-06 00:53:56 +01: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