Re: I really don't understand DUB

2019-04-15 Thread Ron Tarrant via Digitalmars-d-learn
On Sunday, 14 April 2019 at 20:51:10 UTC, Andre Pany wrote: To solve your specify the targetType explicitly in your dub.sdl file. https://dub.pm/package-format-json.html#target-types Kind regards Andre Thanks, Andre. Yeah, I did sort that out. My dilemma ATM is why I'm (seemingly randomly)

Re: I really don't understand DUB

2019-04-15 Thread diniz via Digitalmars-d-learn
Le 15/04/2019 à 09:57, Paolo Invernizzi via Digitalmars-d-learn a écrit : I guess that just killing all that educated dub guess will turn dub into a much easier tool to grasp. Probably. I had similar issues as well. Now I keep all as simple and explicit as possible. (And it works, at least in

Re: I really don't understand DUB

2019-04-15 Thread Paolo Invernizzi via Digitalmars-d-learn
On Sunday, 14 April 2019 at 20:51:10 UTC, Andre Pany wrote: On Sunday, 14 April 2019 at 19:46:41 UTC, Ron Tarrant wrote: [...] You are totally right, it should be more intuitive how to use dub. As far as I know if you do not specify in dub.json/dub.sdl what type of package you have (execut

Re: I really don't understand DUB

2019-04-15 Thread Russel Winder via Digitalmars-d-learn
On Sun, 2019-04-14 at 20:51 +, 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 d

Re: I really don't understand DUB

2019-04-14 Thread Andre Pany via Digitalmars-d-learn
On Sunday, 14 April 2019 at 19:46:41 UTC, Ron Tarrant wrote: On Monday, 8 April 2019 at 19:54:28 UTC, WhatMeWorry wrote: [...] Just so you know who I am and what my experience is: I've only been using D for a few months and so far, I've only dabbled in dub. I used to write a blog for PHP-GTK

Re: I really don't understand DUB

2019-04-14 Thread Ron Tarrant via Digitalmars-d-learn
On Monday, 8 April 2019 at 19:54:28 UTC, WhatMeWorry wrote: I've been trying to troubleshoot a DUB issue for two days now and I've come to the conclusion, I don't really understand DUB and I'm tired of muddling through. Just so you know who I am and what my experience is: I've only been using

Re: I really don't understand DUB

2019-04-08 Thread Dennis via Digitalmars-d-learn
On Monday, 8 April 2019 at 19:54:28 UTC, WhatMeWorry wrote: Now, I've studied the on-line documentation and even walked through the code somewhat but I'm not making an headway. Very relatable. My tips so far are: - Look for projects in github with a similar structure to yours and look at thei

I really don't understand DUB

2019-04-08 Thread WhatMeWorry via Digitalmars-d-learn
I've been using DUB for several years and I've gotten it to work generally. But I've been trying to troubleshoot a DUB issue for two days now and I've come to the conclusion, I don't really understand DUB and I'm tired of muddling through. (Surely it hurts that I've never been exposed to a li