graphpkg icon indicating copy to clipboard operation
graphpkg copied to clipboard

Build tags don't seem to be supported

Open donjaime opened this issue 9 years ago • 1 comments

donjaime avatar Dec 11 '15 19:12 donjaime

Thanks for raising this issue. I'm not planning to work on it, but if you wanted to I'll take a PR.

It should be pretty easy to do this, you'll need the add a flag to extract tags from the command line, you can find that code in the source of cmd/go. Then I believe (haven't looked in a while) if you assign that slice of tags to the build.Context package resolution should obey them.

On Sat, 12 Dec 2015, 06:22 Jaime Yap [email protected] wrote:

— Reply to this email directly or view it on GitHub https://github.com/davecheney/graphpkg/issues/6.

davecheney avatar Dec 11 '15 23:12 davecheney