Hi, does pants run `go generate` before compiling?
# general
b
Hi, does pants run
go generate
before compiling?
h
cc @fast-nail-55400
f
Pants does not have the ability to run
go generate
currently. Also, I recall that the
go
tool does not run
go generate
either before compiling. You should just be able to run
go generate
directly and commit the output as would be done if you were using
go build
instead of Pants for builds.
h
Feel free to open a GitHub issue if you think it would make sense for Pants to run
go generate
though! It seems to make sense to me