slsa-github-generator icon indicating copy to clipboard operation
slsa-github-generator copied to clipboard

[feature] Run `go generate ./...` before build

Open OpenWaygate opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Some files need to be generated, which will be used in go build

Describe the solution you'd like Add another field in Configuration File, such as generate, to allow user customize the generation.

# Version for this file.
version: 1

generate: "./..." # go generate ./...
generate: ""      # leave empty to skip go generate

Describe alternatives you've considered

Additional context

OpenWaygate avatar Sep 10 '24 15:09 OpenWaygate

Can you add more details?

ramonpetgrave64 avatar Sep 12 '24 18:09 ramonpetgrave64