Merge pull request #806 from meshtastic/fifieldt-patch-1

Add check for poetry install to regen-protobufs.sh
This commit is contained in:
Tom Fifield authored and GitHub committed 2025-07-17 09:05:17 +08:00
commit 6f67f33378
1 file changed
+6
+6
View File
@@ -6,6 +6,12 @@ set -e
#gsed -i 's/import "\//import ".\//g' ./protobufs/meshtastic/*
#gsed -i 's/package meshtastic;//g' ./protobufs/meshtastic/*
POETRYDIR=$(poetry env info --path)
if [[ -z "${POETRYDIR}" ]]; then
poetry install
fi
# protoc looks for mypy plugin in the python path
source $(poetry env info --path)/bin/activate