commit | 4731b364d785b8c7c573121eba4c3d90b4cc029b | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Tue Feb 17 21:01:37 2015 -0800 |
committer | Suharsh Sivakumar <suharshs@google.com> | Tue Feb 17 21:01:57 2015 -0800 |
tree | 2ebb2ee4b4a32e6bcbc304febe0b389ed46d6a0a | |
parent | 2afa71ba5b50da189f72ddb8f6901422717e4619 [diff] |
lib/cmdline/testdata/gendoc: Make gendoc build packages instead of running group of files. 'go run ...' ignores build tags. So, when generating docs for main's that involve conditional builds, redifined variable errors were unavoidable. To fix this I modified gendoc to first build the package and then run the executable with the doc generation flags. https://vanadium-review.googlesource.com/3951 depends on this. Change-Id: I2678835a1b310b2306b6697a0a71e5a7fdb048f5