Skip to content

mod: ignore files with "ignore" tags #2962

@rogpeppe

Description

@rogpeppe

Currently there is no way of excluding a file from consideration from
the dependency analysis run by cue mod tidy other than by placing
inside an excluded directory such as .foo.

It might be good for cue mod tidy to check file-level build tags and
exclude files with an "ignore" tag, mirroring Go's behavior in this
respect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestNew feature or requestmodulesIssues related to CUE modules and the experimental implementation

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions