I really don't understand DUB

Russel Winder russel at winder.org.uk
Mon Apr 15 07:34:13 UTC 2019


On Sun, 2019-04-14 at 20:51 +0000, Andre Pany via Digitalmars-d-learn
wrote:
[…]
> As far as I know if you do not specify in dub.json/dub.sdl what 
> type of package you have (executable/library) dub make a guess. 
> Is there an app.d it will default the targetType "executable", if 
> not it will default the targetType "library".
[…]

I had understood that if source/main.d existed the project type would
also be executable, the same as if source/app.d existed.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20190415/c6d03df4/attachment.sig>


More information about the Digitalmars-d-learn mailing list