mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-11 22:47:45 +03:00
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
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
|||||||
tags
|
tags
|
||||||
build
|
build
|
||||||
linux-package
|
linux-package
|
||||||
|
kitty.app
|
||||||
logo/*.iconset
|
logo/*.iconset
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
glad/out
|
glad/out
|
||||||
|
2
setup.py
2
setup.py
@ -619,7 +619,7 @@ def safe_remove(*entries):
|
|||||||
else:
|
else:
|
||||||
os.unlink(x)
|
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('.'):
|
for root, dirs, files in os.walk('.'):
|
||||||
remove_dirs = {d for d in dirs if d == '__pycache__'}
|
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]
|
[(shutil.rmtree(os.path.join(root, d)), dirs.remove(d)) for d in remove_dirs]
|
||||||
|
Loading…
Reference in New Issue
Block a user