I have an umbrella project for my media libraries, and several projects depend on other project in the umbrella. Now I am trying to create hex.pm packages and having trouble because you cannot have
in_umbrella: true dependencies marked for a hex package (which makes sense, as hex can not resolve all the dependencies itself.
However, I am unsure of how to resolve this situation without moving to a 100% hex dependency solution. Even though each dependency is a unique and independent system, there are some scenarios that are complex enough to make it much easier to debug and iterate on a (real or possible) dependency change by running it with a child application. I don’t want to have to create a new version, publish, then
deps.get just for some iteration sessions.
I tried marking the hex dependency as
only: [:prod] and the umbrella as
only: [:dev] and that didn’t work, as
hex.publish didn’t like multiple definitions for the same dependency.
Is there any easy solution to this besides temporarily commenting out the umbrella dependency and uncommenting it out while debugging it?