简体   繁体   English

Erlang 的标准构建工具是什么?

[英]What is the standard build tool in Erlang?

I am very new to Erlang programming language.我对 Erlang 编程语言很陌生。 Is there a standard build tool in Erlang? Erlang 有标准的构建工具吗?

I have googled out these, not sure which one I should use.我已经用谷歌搜索了这些,不确定我应该使用哪一个。

Rebar is gradually being replaced by rebar3 , which provides more deterministic builds and conflict resolution, packages (integrating with hex.pm), and so on. Rebar逐渐被rebar3取代,它提供了更多的确定性构建和冲突解决方案,包(与hex.pm集成)等等。

As one of the current rebar and rebar3 maintainers, I'd recommend rebar3. 作为目前的螺纹钢和钢筋3维护者之一,我推荐使用rebar3。

Yes, we can use default make tool for build yours code ( http://www.erlang.org/doc/man/make.html ). 是的,我们可以使用默认的make工具来构建你的代码( 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. 是的,我们可以使用Erlang.mk,它还提供必要的功能。 It's big Makefile. 这是一个很大的Makefile。

I recommend you start with rebar. 我建议你先从钢筋开始。

rebar3 is a tool to make Erlang projects easier to manage. rebar3 是一个让 Erlang 项目更易于管理的工具。 A kind of build tools and package management for erlang.一种用于erlang的构建工具和包管理。 This is also very helpful when we start a project, create a project skeleton, do compilation and build projects, make packages release to production, download erlang packages, etc.这在我们启动项目、创建项目骨架、编译和构建项目、将包发布到生产环境、下载 erlang 包等时也非常有用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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