1
0
Fork 0

More cleaning in force-reconfiguration.

This commit is contained in:
John Preston 2024-01-04 11:38:53 +04:00
parent 4005d7befb
commit 9620c46740

View file

@ -58,7 +58,8 @@ def run(project, arguments, buildType=''):
elif 'force' in arguments:
paths = os.listdir(basePath)
for path in paths:
if path.lower().startswith('cmake'):
low = path.lower();
if not low.startswith('debug') and not low.startswith('release'):
full = basePath + '/' + path
if os.path.isdir(full):
shutil.rmtree(full, ignore_errors=False)