[英]Mixed Erlang/Elixir projects - can I use mix or rebar?
For Erlang code, I use rebar . 对于Erlang代码,我使用rebar 。 For Elixir code, I use the built-in mix tool.
对于Elixir代码,我使用内置混合工具。
Now I want to have a mixed Erlang/Elixir project. 现在我想要一个混合的Erlang / Elixir项目。 Can I use rebar to compile Elixir code?
我可以使用rebar来编译Elixir代码吗? Or can I use mix to compile Erlang code?
或者我可以使用mix来编译Erlang代码吗?
If so, how? 如果是这样,怎么样?
Mix can compile erlang files if you put them in src
. 如果你把它们放在
src
Mix可以编译erlang文件。 There is a rebar_elixir_plugin
to compile Elixir code from rebar but it is not as efficient at it as Mix. 有一个
rebar_elixir_plugin
可以从rebar_elixir_plugin
编译Elixir代码,但它不像Mix那样高效。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.