From 1719a14cf07866f3c86a4daac7f09124004d7eb9 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Tue, 17 Dec 2019 10:01:33 -0600 Subject: [PATCH] preprocess_frozen_modules: exclude subdirs of examples, docs, tests .. this reclaims several kB on CPX, where we really need it. --- tools/preprocess_frozen_modules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/preprocess_frozen_modules.py b/tools/preprocess_frozen_modules.py index bb6959f0d8..e51f96bf91 100755 --- a/tools/preprocess_frozen_modules.py +++ b/tools/preprocess_frozen_modules.py @@ -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: