dub: excluding some source files from build

AltFunction1 af1af1af1 at af1.af1
Sat Apr 6 14:22:15 UTC 2019


On Friday, 5 April 2019 at 17:01:35 UTC, 0xFFFFFFFF wrote:
> 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:
>>>>> [...]
>>>>
>>>>
>>>> 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.

Something dub could do is to check for these kind of spelling 
errors.


More information about the Digitalmars-d mailing list