Add kitty.app to .gitignore
Also have make clean clean linux-package and kitty.app when running manually.
This commit is contained in:
parent
09b6d6e62b
commit
5a905dfe7f
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,6 +4,7 @@
|
|||
tags
|
||||
build
|
||||
linux-package
|
||||
kitty.app
|
||||
logo/*.iconset
|
||||
compile_commands.json
|
||||
glad/out
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -619,7 +619,7 @@ def safe_remove(*entries):
|
|||
else:
|
||||
os.unlink(x)
|
||||
|
||||
safe_remove('build', 'compile_commands.json')
|
||||
safe_remove('build', 'compile_commands.json', 'linux-package', 'kitty.app')
|
||||
for root, dirs, files in os.walk('.'):
|
||||
remove_dirs = {d for d in dirs if d == '__pycache__'}
|
||||
[(shutil.rmtree(os.path.join(root, d)), dirs.remove(d)) for d in remove_dirs]
|
||||
|
|
|
|||
Loading…
Reference in a new issue