Mix as a general dependencies management solution

38 views
Skip to first unread message

Eyal Lapid

unread,
May 16, 2016, 4:01:46 PM5/16/16
to elixir-lang-core
Can mix be used to manage dependencies other then another elixir projects? 

My current use case is an elixir mix project revolving around an xsd which is subjected to infrequent changes. I wanted to ask if I could take out the xsd
and wrap it in another of its own mix package, this in turn could be specified and version managed in my elixir mix project dependencies.

Is this can be done today or feasible/logical for Mix ?

José Valim

unread,
May 16, 2016, 4:16:42 PM5/16/16
to elixir-l...@googlegroups.com
Theoretically yes. Mix doesn't know about Hex but Hex integrates itself into Mix using the SCM API. You could do the same for your dependencies but you will have to implement all of the integration code.
--
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 elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/e67b4a32-b24a-41d7-8aa1-869f24566b61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--


José Valim
Skype: jv.ptec
Founder and Director of R&D

Reply all
Reply to author
Forward
0 new messages