diff --git a/.gitignore b/.gitignore index c6f9b76f8..db25edd94 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ tags build linux-package +kitty.app logo/*.iconset compile_commands.json glad/out diff --git a/setup.py b/setup.py index d5ad0dfd1..c020d8881 100755 --- a/setup.py +++ b/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]