Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
preprocess_frozen_modules: exclude subdirs of examples, docs, tests
.. this reclaims several kB on CPX, where we really need it.
  • Loading branch information
jepler committed Dec 17, 2019
commit 1719a14cf07866f3c86a4daac7f09124004d7eb9
1 change: 1 addition & 0 deletions tools/preprocess_frozen_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def copy_and_process(in_dir, out_dir):

# Skip library examples directories.
if Path(root).name in ['examples', 'docs', 'tests']:
del subdirs[:]
continue

for file in files:
Expand Down