Emacs users: flycheck-dmd-dub

Atila Neves via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat May 10 07:03:35 PDT 2014


Now using dub describe. Installable from melpa.

On Thursday, 20 March 2014 at 07:17:04 UTC, Sönke Ludwig wrote:
> Am 19.03.2014 00:16, schrieb Atila Neves:
>> V0.0.4 now supports both package.json and dub.json
>>
>> Atila
>>
>
> There is one change that I would highly recommend - using the 
> output of "dub describe" instead of directly reading dub.json:
>
>  - It's planned to add an SDL based format, which otherwise 
> then would
>    also have to be supported
>
>  - Properly determining the right dependency versions/paths,
>    configurations and platform specific values is not easy, but 
> vital
>    to get the correct results
>
>  - Parts of the format may get extended in the future, requiring
>    constant maintenance of the elisp package
>
> "dub describe" always outputs a JSON document* and has 
> everything resolved down to bare compiler settings, so it's 
> trivial to handle.
>
> Regards,
> Sönke
>
>
> * There is currently a bug where sometimes a non-JSON preamble 
> is output before the actual contents, so it's necessary to skip 
> until the first '{' before interpreting the output. This will 
> be resolved in the next version.


More information about the Digitalmars-d-announce mailing list