pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Running `go generate` from pkgsrc



On Mon, Aug 28, 2023 at 10:35 PM Kevin Bloom <kevin.bloom%posteo.net@localhost> wrote:

> How do I run these commands from the pkgsrc framework? I've looked through
> countless other go packages and haven't seen this done. Maybe I'm missing
> something?

For people following along: the intended use of `go generate` is to
check in the generated code into the repository, to avoid precisely
this situation. `go build` is supposed to work out of the box.

-- 
Benny


Home | Main Index | Thread Index | Old Index