From 67b12159f4043026cd1d9f76e34b305f663e161b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 5 Nov 2022 12:09:19 +0530 Subject: [PATCH] make clean should also clean go caches --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 718f9ce7a..26282fcbc 100755 --- a/setup.py +++ b/setup.py @@ -1482,6 +1482,7 @@ def clean() -> None: os.unlink(os.path.join(root, f)) for x in glob.glob('glfw/wayland-*-protocol.[ch]'): os.unlink(x) + subprocess.check_call(['go', 'clean', '-cache', '-testcache', '-modcache', '-fuzzcache']) def option_parser() -> argparse.ArgumentParser: # {{{