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: # {{{