Re: dub sub-projects

2020-09-21 Thread Vladimirs Nordholm via Digitalmars-d-learn
On Monday, 21 September 2020 at 08:02:46 UTC, Виталий Фадеев wrote: On Sunday, 20 September 2020 at 18:24:31 UTC, Vladimirs Nordholm wrote: Hello. I wonder what the best-practice is for dub projects with sub-projects. Excuse me if the terminology is wrong. Let me explain my situation. [...]

Re: dub sub-projects

2020-09-21 Thread Виталий Фадеев via Digitalmars-d-learn
On Sunday, 20 September 2020 at 18:24:31 UTC, Vladimirs Nordholm wrote: Hello. I wonder what the best-practice is for dub projects with sub-projects. Excuse me if the terminology is wrong. Let me explain my situation. [...] Check this: https://github.com/vitalfadeev/dub-subprojects may like

Re: dub sub-projects

2020-09-20 Thread Vladimirs Nordholm via Digitalmars-d-learn
On Sunday, 20 September 2020 at 18:55:39 UTC, rikki cattermole wrote: But since you insist on them being separate repositories, then they are just regular old dependencies. Ah, well it's not that I _insist_ on them being their own dependencies, it's just the only way I've encountered a setup

Re: dub sub-projects

2020-09-20 Thread rikki cattermole via Digitalmars-d-learn
On 21/09/2020 6:24 AM, Vladimirs Nordholm wrote: I am unsure what the dub file would look like. I read that there is something called "subPackages", but in my mind I see them as dependencies. Is "subPackages" the right approach here? Yes but no. Normally all of these (what appear to be small

Re: dub sub-projects

2020-09-20 Thread Vladimirs Nordholm via Digitalmars-d-learn
On Sunday, 20 September 2020 at 18:24:31 UTC, Vladimirs Nordholm wrote: Hello. I wonder what the best-practice is for dub projects with sub-projects. Excuse me if the terminology is wrong. Let me explain my situation. ... The project I am referring to is my project scone (https://github.com

dub sub-projects

2020-09-20 Thread Vladimirs Nordholm via Digitalmars-d-learn
Hello. I wonder what the best-practice is for dub projects with sub-projects. Excuse me if the terminology is wrong. Let me explain my situation. I have a library which I want to split up into multiple projects. The main project will be a "wrapper" with some additional code. The sub-projects