Build tags support.
dmitshur opened this issue · 1 comments
dmitshur commented
This is a feature request.
It'd be nice to add a flag to be able to specify custom build tags.
For example, I have some code behind a // +build dev
constraint that I'd like to run unconvert
on.
dmitshur commented
My first impression is that this should be easy to add, just need to set build.Context.BuildTags
here:
Lines 296 to 299 in beb68d9
Care will need to be taken to make it intersect well with -all
flag.