mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
fix(common): update protob combine script to reflect new changes
This commit is contained in:
parent
a0fccca041
commit
d657cdaeef
@ -6,7 +6,7 @@ check: messages.pb messages-binance.pb messages-bitcoin.pb messages-bootloader.p
|
||||
combine:
|
||||
echo 'syntax = "proto2";' > combined.proto
|
||||
echo 'import "google/protobuf/descriptor.proto";' >> combined.proto
|
||||
grep -hv -e '^import ' -e '^syntax' -e '^package' -e 'option java_' messages*.proto | sed 's/hw\.trezor\.messages\.common\.//' >> combined.proto
|
||||
grep -hv -e '^import ' -e '^syntax' -e '^package' -e 'option java_' messages*.proto | sed 's/ hw\.trezor\.messages\.common\./ /' | sed 's/ common\./ /' | grep -v ' reserved '>> combined.proto
|
||||
|
||||
clean:
|
||||
rm -f *.pb
|
||||
|
Loading…
Reference in New Issue
Block a user