Skip to content

Commit 841632d

Browse files
authored
fix: Ensure build folder tree is preserved (#3)
1 parent 458538a commit 841632d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

programmer.spec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ block_cipher = None
44

55
# needed for programming
66
added_datas = [
7-
('build', 'build'),
87
('esptool/flasher_stub/*.c', './flasher_stub/'),
98
('esptool/flasher_stub/*.py', './flasher_stub/'),
109
('esptool/flasher_stub/ld/*.ld', './flasher_stub/ld/'),
@@ -47,7 +46,7 @@ exe = EXE(pyz,
4746
a.scripts,
4847
a.binaries,
4948
a.zipfiles,
50-
a.datas,
49+
a.datas + Tree('build', 'build'),
5150
name='programmer',
5251
debug=False,
5352
bootloader_ignore_signals=False,

0 commit comments

Comments
 (0)