Cleaning up Dub/Dmd builds

WhatMeWorry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 18 10:58:32 PDT 2017


On Tuesday, 18 April 2017 at 15:15:47 UTC, Stanislav Blinov wrote:
> On Tuesday, 18 April 2017 at 15:07:27 UTC, WhatMeWorry wrote:
>
>> When I try to upload these files to my new repo, GitHub 
>> (rightfully so) complains that
>> I have too many files. Since I'm using sdl and not json, can I 
>> safely delete all the files
>> that pertain to json?  Can I do this some way at the command 
>> line?
>
>
> You shouldn't upload files from the .dub directory, that's 
> local build cache that shouldn't  be published. You can simply 
> add the .dub directory to your .gitignore file.

Thanks. That seems like an elegant solution.  Sorry if that is 
documented somewhere. I never came across it or didn't understand 
it when I did.


More information about the Digitalmars-d-learn mailing list