weaver icon indicating copy to clipboard operation
weaver copied to clipboard

weaver generate doesn't support go build tags

Open Gris87 opened this issue 1 year ago • 0 comments

Hi,

I am trying to compile my project: test.zip

There are 2 files:

  • good.go with a build tag good that can be normally compiled when -tags good provided to go run command
  • bad.go with a build tag !good than contains a lot of syntax errors or other errors/circumstances that makes compilation impossible at the moment

So, when I'm trying to call go generate ./... or weaver generate ./... I'm getting a compilation error due to errors in bad.go.

What I want to get is a support of go build tags for weaver generate in order to make it ignore bad file and use good one.

Gris87 avatar Jul 23 '24 11:07 Gris87