Clean link_commands.json
This commit is contained in:
parent
67f23664c9
commit
93af102bec
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -887,7 +887,10 @@ def safe_remove(*entries):
|
|||
else:
|
||||
os.unlink(x)
|
||||
|
||||
safe_remove('build', 'compile_commands.json', 'linux-package', 'kitty.app', 'asan-launcher', 'kitty-profile', 'kitty/launcher')
|
||||
safe_remove(
|
||||
'build', 'compile_commands.json', 'link_commands.json',
|
||||
'linux-package', 'kitty.app', 'asan-launcher',
|
||||
'kitty-profile', 'kitty/launcher')
|
||||
exclude = ('.git',)
|
||||
for root, dirs, files in os.walk('.', topdown=True):
|
||||
dirs[:] = [d for d in dirs if d not in exclude]
|
||||
|
|
|
|||
Loading…
Reference in a new issue