Mixed Erlang/Elixir projects - can I use mix or rebar?

谁都会走 提交于 2021-02-18 06:03:02

问题


For Erlang code, I use rebar. For Elixir code, I use the built-in mix tool.

Now I want to have a mixed Erlang/Elixir project. Can I use rebar to compile Elixir code? Or can I use mix to compile Erlang code?

If so, how?


回答1:


Mix can compile erlang files if you put them in src. There is a rebar_elixir_plugin to compile Elixir code from rebar but it is not as efficient at it as Mix.



来源:https://stackoverflow.com/questions/19776403/mixed-erlang-elixir-projects-can-i-use-mix-or-rebar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!