1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 19:08:12 +00:00
trezor-firmware/core/tools/build_protobuf

23 lines
985 B
Plaintext
Raw Normal View History

2016-04-26 23:32:57 +00:00
#!/bin/bash
set -e
cd $(dirname $0)
rm -f ../src/trezor/messages/[A-Z]*.py
2018-07-02 16:39:33 +00:00
../vendor/trezor-common/protob/pb2py \
--no-init-py \
-o ../src/trezor/messages \
../vendor/trezor-common/protob/messages.proto \
../vendor/trezor-common/protob/messages-bitcoin.proto \
../vendor/trezor-common/protob/messages-cardano.proto \
../vendor/trezor-common/protob/messages-common.proto \
../vendor/trezor-common/protob/messages-crypto.proto \
../vendor/trezor-common/protob/messages-debug.proto \
../vendor/trezor-common/protob/messages-ethereum.proto \
../vendor/trezor-common/protob/messages-lisk.proto \
../vendor/trezor-common/protob/messages-management.proto \
../vendor/trezor-common/protob/messages-monero.proto \
../vendor/trezor-common/protob/messages-nem.proto \
../vendor/trezor-common/protob/messages-ripple.proto \
../vendor/trezor-common/protob/messages-stellar.proto \
../vendor/trezor-common/protob/messages-tezos.proto