1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-28 00:58:09 +00:00
trezor-firmware/tools/build_protobuf
2018-07-02 20:19:16 +02:00

10 lines
247 B
Bash
Executable File

#!/bin/bash
set -e
../vendor/trezor-common/protob/pb2py \
--no-init-py \
-o ../src/trezor/messages \
../vendor/trezor-common/protob/{types,messages}.proto
cp ../src/trezor/messages/MessageType.py ../src/trezor/messages/wire_types.py