make clean should also clean go caches

This commit is contained in:
Kovid Goyal 2022-11-05 12:09:19 +05:30
parent 8ad55f7562
commit 67b12159f4
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

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