Skip to content

Conversation

meatballhat
Copy link
Member

@meatballhat meatballhat commented Oct 9, 2022

What type of PR is this?

  • bug
  • cleanup

What this PR does / why we need it:

Without this, running make generate can result in errors about missing github.com/urfave/cli/v2 because the top-level go.mod context is in use rather than the cmd/urfave-cli-genflags/go.mod.

For example, this failure in the v3-porting branch: https://github.com/urfave/cli/actions/runs/3214832631/jobs/5255497140

Which issue(s) this PR fixes:

NA 😬

so that `go.mod` files don't get all confused
@meatballhat meatballhat added kind/bug describes or fixes a bug kind/cleanup describes internal cleanup / maintaince labels Oct 9, 2022
@meatballhat meatballhat requested a review from a team as a code owner October 9, 2022 15:27
@abitrolly
Copy link
Contributor

Can this help avoid make dependency on go build golang/go#46687 ?

@meatballhat
Copy link
Member Author

@abitrolly I don't think so (?) If anything, I'm adding more dependence on make here 😅 , although it's only for when one wants to run go generate.

@abitrolly
Copy link
Contributor

I see. If that doesn't affect cd cmd; go build then that's probably ok.

@meatballhat meatballhat merged commit 89e331f into main Oct 13, 2022
@meatballhat meatballhat deleted the genflags-mod branch October 13, 2022 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug describes or fixes a bug kind/cleanup describes internal cleanup / maintaince
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants