v1.5.1 增强程序稳定性
This commit is contained in:
@@ -22,6 +22,20 @@ echo "==============================="
|
||||
echo " Building amzn2023 packages"
|
||||
echo "==============================="
|
||||
|
||||
# --- check & regenerate protobuf ---
|
||||
echo ""
|
||||
echo "[0/3] Checking protobuf tools ..."
|
||||
for cmd in protoc protoc-gen-go protoc-gen-go-grpc; do
|
||||
if ! command -v "$cmd" &>/dev/null; then
|
||||
echo "error: $cmd not found in PATH" >&2
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
echo " regenerating protobuf files ..."
|
||||
cd "$ROOT/EdgeCommon/build"
|
||||
./build.sh
|
||||
echo " protobuf files regenerated"
|
||||
|
||||
# --- edge-node ---
|
||||
echo ""
|
||||
echo "[1/3] Building edge-node ..."
|
||||
|
||||
Reference in New Issue
Block a user