mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
tools: build mocks uses sorted
This commit is contained in:
parent
368ba963a6
commit
d23a236616
@ -84,8 +84,8 @@ def build_module(mod_file, dest):
|
||||
|
||||
def build_directory(dir, dest):
|
||||
print("Building mocks for", dir, "to", dest)
|
||||
for pkg in os.listdir(dir):
|
||||
for mod in os.listdir(os.path.join(dir, pkg)):
|
||||
for pkg in sorted(os.listdir(dir)):
|
||||
for mod in sorted(os.listdir(os.path.join(dir, pkg))):
|
||||
build_module(os.path.join(dir, pkg, mod), dest)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user