www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18040] New: rdmd --exclude= --include= should allow passing

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

          Issue ID: 18040
           Summary: rdmd --exclude= --include= should allow passing in
                    modules (not just packages)
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: timothee.cour2 gmail.com

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.

--
Dec 06 2017