mirror of
https://github.com/mvt-project/mvt.git
synced 2026-10-05 15:37:13 +02:00
Add protobuf parser generation
This commit is contained in:
1 parent
9b41ba99aa
commit
8694e7a047
5 files changed
+203
No files matched your search
@@ -25,6 +25,12 @@ install:
|
||||
test-requirements:
|
||||
python3 -m pip install --upgrade -r test-requirements.txt
|
||||
|
||||
generate-proto-parsers:
|
||||
# Generate python parsers for protobuf files
|
||||
PROTO_DIR="src/mvt/android/parsers/proto/"; \
|
||||
PROTO_FILES=$$(find $(PROTO_DIR) -iname "*.proto"); \
|
||||
protoc -I$(PROTO_DIR) --python_betterproto_out=$(PROTO_DIR) $$PROTO_FILES
|
||||
|
||||
clean:
|
||||
rm -rf $(PWD)/build $(PWD)/dist $(PWD)/src/mvt.egg-info
|
||||
|
||||
|
||||
Reference in new issue
Block a user