TBR: lib/cmdline/testdata/gendoc: improve gendoc performance.

- Use "go install" instead of "go build" to build binaries. This allows us to
  reuse intermediate objects.
- Use the default binary name (base name of its package) instead of gendoc.
  Since we build each binary in a different tmp location with different names,
  we can remove the "-a" flag which will also improve performance (not building
  everything from scratch).

The presubmit test of this CL shows that "vanadium-go-generate" took 7 minutes
to finish, which is a big improvement compared to the current 26 minutes run
time.

PresubmitTest: none
Change-Id: Ia09197b13a3d9a74ad6d49391c8cbf836b4d1d66
1 file changed
tree: 0bcb0ef6cc922329641fd1e5b58a5b709d78680e
  1. cmdline/
  2. dbutil/
  3. envvar/
  4. host/
  5. metadata/
  6. netconfig/
  7. netstate/
  8. set/
  9. textutil/
  10. toposort/
  11. vlog/
  12. .gitignore
  13. .godepcop
  14. AUTHORS
  15. CONTRIBUTORS
  16. LICENSE
  17. PATENTS
  18. README.md
  19. VERSION
README.md

This repository contains general purpose libraries used by the Vanadium project. TEST