Sample dub.json file

Charles Hawkins via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 22 07:01:17 PDT 2015


This is my first project in D and I'm stumped.  I have a library 
and I want to link some test programs to it using dub.  I've 
tried a number of different things with no success.  Can someone 
point me to a dub project with examples in a similar situation 
where maybe I can figure out what they're doing?  Basically, it 
seems no matter what I try, the
import mylib;
gives me a "cannot read mylib.d" error.  How can I get dub to see 
my library as if it were any other one?  I tried add-local and it 
shows up in "dub list".


More information about the Digitalmars-d-learn mailing list