Re: Dub build failure

2020-10-04 Thread jerome via Digitalmars-d-learn
On Sunday, 4 October 2020 at 20:25:48 UTC, Andre Pany wrote: On Sunday, 4 October 2020 at 18:45:34 UTC, jerome wrote: I am trying to compile a simple lib, and a simple demo using this lib. [...] If I am not wrong there is following issue: in D a package is a folder. Having the package.d fil

Re: Dub build failure

2020-10-04 Thread Andre Pany via Digitalmars-d-learn
On Sunday, 4 October 2020 at 18:45:34 UTC, jerome wrote: I am trying to compile a simple lib, and a simple demo using this lib. [...] If I am not wrong there is following issue: in D a package is a folder. Having the package.d file as child of folder source is not correct. Moving the file p

Dub build failure

2020-10-04 Thread jerome via Digitalmars-d-learn
I am trying to compile a simple lib, and a simple demo using this lib. So I have 2 directories at the same level in the same DEV directory: demo1 Dterrent In the Dterrent directory, the dub.json is pretty common, compiling as a lib: "name": "dterrent", "targetPat