mirror of
https://github.com/meshtastic/python.git
synced 2026-04-17 21:42:20 -04:00
WIP for new cleaned up device API
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
protoc -I=proto --python_out meshtastic mesh.proto
|
||||
protoc -I=proto --python_out meshtastic mesh.proto portnums.proto
|
||||
|
||||
# workaround for import bug in protoc https://github.com/protocolbuffers/protobuf/issues/1491#issuecomment-690618628
|
||||
|
||||
sed -i -E 's/^import.*_pb2/from . \0/' meshtastic/*.py
|
||||
Reference in New Issue
Block a user