>
> Ideally we’d like to be able to get this to work:
>
> defp deps do
> {:foo, git: "[email protected]:my_org/our_umbrella.git", path: "apps/foo"}end
>
>
Is there a way to checkout only a subdirectory in Git? It seems to be
possible, so someone could contribute this feature to the Git SCM. Although
I would call the option something other than :path.
> Is there a currently supported way to get this to work, or are we going to
> have to extract the bits they want to use into separate, stand-alone git
> repositories (something we’d rather not have to do)? Or is it something the
> Elixir team would consider supporting in a future version of Elixir? Is
> there a suggested work around for now?
>
The only option for now is to break those into git dependencies. We are
working on private Hex servers and registries, so that should be an option
soon. One of these two options are arguably the best approach: since those
applications are now used by different projects, it probably makes sense to
move them elsewhere.
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4K-bm66gNpNAG7j%2B-ZvSurfvsdLmUWVPd%3DjBb0KyXbKiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.