On Thursday, 4 June 2015 at 13:07:50 UTC, Steven Schveighoffer
wrote:
That's nice. But it still isn't self-explanatory. Nor additive.
Do you think it'd be better to have a list of flags to specify
dependancies?
Like :
dub init myProj -d tango -d derelict-gl --dependency=vibe-d
This would be better, but I still think a way to add
dependencies should be supported on the command line. Something
like dub depend someproject. You don't always know what a
project will need at the beginning.
Agree here, this is something I plan on working on soon.
Of course, you could just say "well, edit the json file!". You
really need a format that supports comments...
In any case, this doesn't negate the concerns others have
raised.
I don't mean to bash dub, it's better than nothing. But I
haven't used it for any real project yet. And when I did use
it, it was not a straightforward experience.
-Steve