문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top