DUB 0.9.24 beta 2

extrawurst via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 14 06:47:48 PDT 2015


On Tuesday, 14 July 2015 at 13:16:56 UTC, Sönke Ludwig wrote:
> Am 02.07.2015 um 23:59 schrieb extrawurst:
>> Awesome! Is there a dub cmd to convert a given project to SDL ?
>
> Currently sdlang-d [1] supports only parsing of SDL files, but 
> not generating them. That and the code to serialize an internal 
> package recipe back to an SDL representation is missing. So it 
> won't make it into this release, but it doesn't sound like a 
> bad idea.
>
> [1]: https://github.com/Abscissa/SDLang-D

Actually SDLang-d supports generation of sdl documents:
https://github.com/Abscissa/SDLang-D/blob/master/example.d#L44

`toSDLDocument()` generates a string that can be saved to file.

I opened an issue for this matter in dub: 
https://github.com/D-Programming-Language/dub/issues/626


More information about the Digitalmars-d mailing list