Skip to content

rdmd --exclude= --include= should allow passing in modules (not just packages) #421

Description

Transferred from: https://issues.dlang.org/show_bug.cgi?id=18040

User @timotheecour reported (2017-Dec-07 06:07:41):

I don't see any reason why --exclude= --include= should be only allowing packages, it should also allow modules, eg:
rdmd --exclude=bar main.d
=> will exclude package bar or module bar whichever is defined

Eg, there's no way currently to exclude a single module. This will allow this as well as other use cases.

User @marler8997 responded (2018-Jan-10 03:07:35):

I think this will be fixed with: #271

User @marler8997 responded (2018-Jan-16 17:39:40):

#271

User @marler8997 responded (2018-Jan-20 02:22:53):

#271 was reverted

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

    Prio.3.NormalA bug that is neither a blocker nor a regressionT.RDMDIssues that apply only to rdmdType.EnhancementAn improvement to an existing functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions