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
What Does Build Tool Mean? Build tools are programs that automate the creation of executable applications from source code. Building incorporates compiling, linking and packaging the code into a usable or executable form. In small projects, developers will often manually invoke the build process.
rebar is an Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases. rebar is a self-contained Erlang script, so it's easy to distribute or even embed directly in a project.
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.
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 use Erlang.mk, it also provides the necessary functionality. It's big Makefile.
I recommend you start with rebar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With