Rebar
The
rebar3tool is the second generation ofrebar, one of the most widely used Erlang build tools and one that originated in the Erlang community. Rebar3 is a comprehensive tool that addresses a number of project management needs, including dependency management, compilation, and release generation. You can also enhance or extend its functionality via plugins.
Creating a Release with Rebar3
The
rebar3tool usesrelx, rather than the standard Erlang/OTPreltoolfacility, in an effort to make it easier for developers to create releases, due to reltool being widely viewed as being difficult to configure and use correctly.(…)
(…) building a production release is easy, even with these default settings in place, thanks to
rebar3profiles. The profiles tuple inrebar.configincludes a profile named prod that setsdev_modetofalseandinclude_ertstotrue. To use theprodprofile, we just specify it using therebar3 asdirective on the command line:$ rebar3 as prod release