Skip to content

Remove go generate from v2 build process #1801

Description

@abitrolly

My urfave/cli version is

v2

Checklist

  • Are you running the latest v2 release? The list of releases is here.
  • Did you check the manual for your release? The v2 manual is here
  • Did you perform a search about this problem? Here's the GitHub guide about searching.

Dependency Management

  • My project is using go modules.
  • My project is using vendoring.
  • My project is automatically downloading the latest version.
  • I am unsure of what my dependency management setup is.

Describe the bug

The generation step when calling make from https://cli.urfave.org/CONTRIBUTING/#development-workflow takes way too much detours.

Observed behavior

graph LR
make --> build.go --> gogen[go generate] --> cli.go --> urfave-cli-genflags/make --> urfave-cli-genflags --> goimports
Loading

Expected behavior

At least this.

graph LR
make --> build.go --> urfave-cli-genflags/make --> urfave-cli-genflags --> goimports
Loading

Additional context

Did I miss anything?

Want to fix this yourself?

Yup. If there is no some hidden magic behind.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/v2relates to / is being considered for v2kind/bugdescribes or fixes a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions