What is the standard build tool in Erlang?

南笙酒味 提交于 2019-12-23 08:04:27

问题


I am very new to Erlang programming language. Is there a standard build tool in Erlang?

I have googled out these, not sure which one I should use.

  • Erlang Make http://www.erlang.org/doc/man/make.html

  • Rebar

  • Erlang.mk


回答1:


Rebar is gradually being replaced by rebar3, which provides more deterministic builds and conflict resolution, packages (integrating with hex.pm), and so on.

As one of the current rebar and rebar3 maintainers, I'd recommend rebar3.




回答2:


Yes, we can use default make tool for build yours code (http://www.erlang.org/doc/man/make.html). But it is not so convenient.

Most projects use rebar. Because it is easy and convenient.

And yes, we can user Erlang.mk, it also provides the necessary functionality. It's big Makefile.

I recommend you start with rebar.



来源:https://stackoverflow.com/questions/30170071/what-is-the-standard-build-tool-in-erlang

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