mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Improved build script's --clean.
This commit is contained in:
parent
4a36227a18
commit
0562729d8b
5
build.py
5
build.py
@ -327,8 +327,9 @@ def main():
|
||||
if dev:
|
||||
print("Building in Dev mode")
|
||||
if options.clean:
|
||||
if op.exists('build'):
|
||||
shutil.rmtree('build')
|
||||
for path in ['build', op.join('cocoa', 'build'), op.join('cocoa', 'autogen')]:
|
||||
if op.exists(path):
|
||||
shutil.rmtree(path)
|
||||
if not op.exists('build'):
|
||||
os.mkdir('build')
|
||||
if options.doc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user