Add kitty.app to .gitignore

Also have make clean clean linux-package and kitty.app when running
manually.
This commit is contained in:
Kovid Goyal 2018-03-14 12:10:15 +05:30
parent 09b6d6e62b
commit 5a905dfe7f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
tags
build
linux-package
kitty.app
logo/*.iconset
compile_commands.json
glad/out

View File

@ -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]