简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM