Best Practice to manage large projects with dub?

Ozan Süel ozan.sueel at gmail.com
Fri May 13 17:51:55 UTC 2022


Hi
My situation: I'm working on and with many projects based on many 
libraries. I know how to handle these in Git, GitHub and Dub. But 
what would be the Best Practice in current dub?

Let's say, we have many apps (1 app = 1 package), which use 
several libs (Every app has his own set of used libs, some are 
overlapping with other apps), every lib requires new libs to work 
(some are overlapping),and so on.

Let's say we want to have 10 apps and need in sum 100 packages 
with every possible combinations.

One way would be, to pump the dub package manager with 100 new 
packages for building only 10 apps. I would like to avoid fill 
the dub database with small packages it. An deprecated way is to 
combine dub with github, which still works fine to me.

What would be good way to manage many small libs to build few big 
apps? Maybe the solution is around the corner, but better to ask 
the experts.

Thanks in advance

Greetings, Ozan


More information about the Digitalmars-d-learn mailing list