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

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