From cd266477fb3029458af28d77eadc6f8c2610994a Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 27 Mar 2019 18:43:15 -0400 Subject: [PATCH] stop regenerating v1 protobufs --- lbrynet/schema/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lbrynet/schema/Makefile b/lbrynet/schema/Makefile index d582f407f..917b2a8e2 100644 --- a/lbrynet/schema/Makefile +++ b/lbrynet/schema/Makefile @@ -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