Hello everyone, I have a question regarding nested apps in an umbrella. I have a set of growing libs and would like put these libs into its own folder.
Current project structure looks something like this:
core depends on lib_analytics and lib_utilities. In core dependency list, I have {:lib_analytics, in_umbrella: true} and {:lib_utilities, in_umbrella: true}.
Remember, umbrella apps donβt exist to establish a hierarchy between your applications, libraries, and dependencies; their purpose is to allow you to manage several projects from a single directory, ie: using a single git repo for all of them, or fanning out the invocation of a single mix task across all of them.
From this perspective it never makes sense to nest umbrella applications, since those goals would be accomplished identically if you laid them all out inside a single subdirectory, which is probably what you want in this scenario.
I still just make my other βappsβ as just dependencies and have a big main project that pulls it altogether, no umbrella at all, never really understood the need for an umbrellaβ¦
I feel no need for it too, but it helps with some tasks execution on all apps and these kind of things. Though sometimes it fails badly, and other times umbrellas make strange stuff happenβ¦
Well, thinking a little more here, your suggestion does look like a good idea. Iβll test it when I have some timeβ¦
I find it pretty useful for scaffolding a lot of related systems at once while being able to easily run mix tasks across all of them. Little frictions kill big ambitions. If I were more conscious of my private github repo usage itβd be killer.
A lot of the time things get split out as prescribed, but itβs nice to streamline that pillars-of-creation stage.