10000 preprocess_frozen_modules: exclude subdirs of examples, docs, tests · domdfcoding/circuitpython@1719a14 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1719a14

Browse files
committed
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
.. this reclaims several kB on CPX, where we really need it.
1 parent dbab538 commit 1719a14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/preprocess_frozen_modules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def copy_and_process(in_dir, out_dir):
3434

3535
# Skip library examples directories.
3636
if Path(root).name in ['examples', 'docs', 'tests']:
37+
del subdirs[:]
3738
continue
3839

3940
for file in files:

0 commit comments

Comments
 (0)
0