Any dub tips and tricks

Atila Neves via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 17 01:32:12 PDT 2014


Are you sure your package/dub.json is valid JSON? You can check 
it here:

http://jsonlint.com/

Atila

On Thursday, 16 October 2014 at 22:22:14 UTC, Joel wrote:
> Any way of using dub (on Windows or OSX). I've been trying it 
> lately, but not much success.
>
> 1. (In the command prompt or Terminal), I create a new folder.
> 2. Run 'dub init' in the new folder
> 3. I copy the dependency from a lib/app into the dub.json file.
> 4. Then I just enter 'dub'
>
> In Windows I get this error (and others, but seems to go 
> through): Failed to parse package description for dil  in 
> C:\Users\Joel\AppData\Roaming\dub\packages\dil-master\.
>
> I'm more interested in using OSX, for D.



More information about the Digitalmars-d-learn mailing list