More cleaning in force-reconfiguration.
This commit is contained in:
parent
4005d7befb
commit
9620c46740
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue