Unfortunately symlinks do not work consistently across all OSes. Regarding the implementation, it probably wouldn’t simplify anything, because all deps store where their location is. Even if they were all in deps/, it is better to have it stored somewhere than hardcode paths everywhere.
On Mon, Aug 5, 2019 at 07:36 Shumpei Shiina <[email protected]> wrote: > Why not create symlink in deps dir with :path dependencies in Mix projects? > > If you want to consult files in dependencies, you can access them by > `deps/foo/...`, but in case of :path deps, you cannot do it simply. > Creating symlink is more intuitive for me than accessing :path deps > directly. I think it is not intuitive that there is no dirs in deps/ if we > add them as :path deps. > Perhaps it can also simplify the internal implementation because we don't > have to switch :path deps and others when compilation. > > -- > 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/8cad1319-0dc0-416f-860b-873b2038051e%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/8cad1319-0dc0-416f-860b-873b2038051e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- *José Valim* www.plataformatec.com.br Skype: jv.ptec Founder and Director of R&D -- 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/CAGnRm4JD0wALRTPT9_jjw%3DeXO2fTKHaG_fP7JGWsAdFscaXTbw%40mail.gmail.com.
