dub: excluding some source files from build

0xFFFFFFFF 0xFFFFFFFF at mail.com
Fri Apr 5 17:01:35 UTC 2019


On Friday, 5 April 2019 at 16:08:20 UTC, Andre Pany wrote:
> On Friday, 5 April 2019 at 15:47:06 UTC, 0xFFFFFFFF wrote:
>> On Friday, 5 April 2019 at 15:43:58 UTC, Dennis wrote:
>>> On Friday, 5 April 2019 at 15:37:17 UTC, 0xFFFFFFFF wrote:
>>>> I tried "excludeSourceFiles" : ["tmp.d"], but it seems not 
>>>> to work.
>>>
>>>
>>> You need to include the folder as well:
>>> "excludeSourceFiles" : ["source/tmp.d"]
>>
>> Thanks, but I've done that also it seem not to work.
>>
>> DUB version 1.14.0, built on Mar  2 2019.
>
> I use this feature for multiple projects on all major 
> platforms. In general it should work. Could you post a more 
> complete example then it would be easy to help you. (Dub.json, 
> folder structure)
>
> Kind regards
> Andre

Thanks Andre, it's a spelling issue: excludeSourceFiles vs 
excludedSourceFiles as Dennis pointed out.


More information about the Digitalmars-d mailing list