Make dub part of the standard dmd distribution

Sönke Ludwig via Digitalmars-d digitalmars-d at puremagic.com
Thu Jun 4 01:58:26 PDT 2015


Am 01.06.2015 um 20:49 schrieb Steven Schveighoffer:
> (...)
> Sorry, I suppose it's a small burden if you use dub frequently. I don't.
> Look what happens when I initialize a dub project:
>
> {
>      "name": "testdub",
>      "description": "A minimal D application.",
>      "copyright": "Copyright © 2015, steves",
>      "authors": ["steves"],
>      "dependencies": {
>      }
> }
>
> Cool, I can figure out how to massage all the existing strings, except,
> hm... dependencies. What goes in there?
>

As of recently, you can also directly specify dependencies to the "dub 
init" command, for example "dub init myproject tango derelict-gl". There 
was also the suggestion to make dub init (without arguments) 
interactive, which would make this a really easy matter.


More information about the Digitalmars-d mailing list