help me with dpldocs - how to filter 3rd party libs

Norm norm.rowtree at gmail.com
Mon Mar 5 01:02:52 UTC 2018


On Sunday, 4 March 2018 at 23:31:56 UTC, Adam D. Ruppe wrote:
> On Sunday, 4 March 2018 at 23:18:25 UTC, Norm wrote:
>> Can you run dub describe and parse the output, which is JSON I 
>> think. It used to indicate a role for each source file under 
>> each configuration, one of which is "unusedSource".
>
> I don't see any info like that when I run it here... :(
>
>> Alternatively you could also take the simple (but fragile) 
>> route and dictate a convention.
>
> aye.

Hmm, may have changed, sorry for the bum steer. I should have 
done this first. Just tried it with a simple test and there is no 
unusedSource, only "source" roles, but if I have any files in the 
excludedSourceFiles list they do not appear in the list.

Might not help much though, I imagine these third-party sources 
are built as source only libraries, so they probably appear as 
source files anyway.

Cheers,
Norm


More information about the Digitalmars-d mailing list