Build and compile

rebar3

rebar3 does not have a separate step to build, re-compile or clean only the app. It will build everything, including deps.

rebar3 keeps track of dependencies that have already been fetched and will not fetch them again if they are present.

rebar3 compile

erlang.mk

Note: erlang.mk will only recompile changed files.

Build the entire project

In order to fetch all dependencies and then compile the entire project

make

Build the app only

In order to compile only the code in your app

make app

mix

Build the entire project

mix compile

Other

mix has several compilation tasks and can invoke different compilers. See doumentation