File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 175175UNITTESTS_DIR = os .path .abspath (os .path .join (ROOT_DIR , "unittests" ))
176176# ----------------------------------------------------------------------------
177177
178+
179+ # Auto cleanup in the examples/ directory, so that build scripts
180+ # do not include trash directories. See Issue #432.
181+
182+ shutil .rmtree (os .path .join (EXAMPLES_DIR , "blob_storage" ),
183+ ignore_errors = True )
184+ shutil .rmtree (os .path .join (EXAMPLES_DIR , "webrtc_event_logs" ),
185+ ignore_errors = True )
186+ shutil .rmtree (os .path .join (EXAMPLES_DIR , "webcache" ),
187+ ignore_errors = True )
188+
189+ shutil .rmtree (os .path .join (SNIPPETS_DIR , "blob_storage" ),
190+ ignore_errors = True )
191+ shutil .rmtree (os .path .join (SNIPPETS_DIR , "webrtc_event_logs" ),
192+ ignore_errors = True )
193+ shutil .rmtree (os .path .join (SNIPPETS_DIR , "webcache" ),
194+ ignore_errors = True )
195+
196+
178197# cefpython API header file and a fixed copy of it
179198CEFPYTHON_API_HFILE = os .path .join (BUILD_CEFPYTHON ,
180199 "cefpython_py{pyver}.h"
You can’t perform that action at this time.
0 commit comments