forked from LBRYCommunity/lbry-sdk
makefile for using types repo
This commit is contained in:
parent
b7ae446059
commit
588779e3a4
1 changed files with 5 additions and 1 deletions
|
@ -1,2 +1,6 @@
|
||||||
build:
|
build:
|
||||||
cd ../../ && ~/bin/protoc --python_out=. lbrynet/schema/proto/*.proto
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue