From 93af102becb96aafa5ee8ceb8f758530b7dddd3e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 7 Jul 2019 04:52:24 +0530 Subject: [PATCH] Clean link_commands.json --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d1c8504e9..8854ba0dc 100755 --- a/setup.py +++ b/setup.py @@ -887,7 +887,10 @@ def clean(): 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]