Skip to content

Add a flag to exclude Go packages that import a specific import path #35

Closed
@nim-nim

Description

@nim-nim

For bootstrapping it is usually necessary to disable everything that relies on other import paths, that are not available yet (but need the built package for their own build)

Likewise part of a Go project may use an import path, we don't want to exist in the distribution

Therefore, I'd like golist to support an -x --exclude-import-path that removes from its output any element that imports the excluded import path.

At least for checks and maybe for install and requires

Repeatable flag like the others

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions