Controlling Rebar3 Application Compile Order
Submitted by Bill St. Clair on Fri, 09 Oct 2015 08:04:41 GMT
I recently spent a few days building the oc_erchef Erlang application inside the chef-server repository, as reported here. I discovered that in an application with sub-applications, stored in the apps/ directory, the order of referencing those sub-applications in the main .app.src file does not affect rebar3's compilation order. Only the dependencies between the sub-applications has an effect on compilation order.
I created the rebar3-app-dependency repository to illustrate this. See its README for details.
Also see Erlware's description of the rebar3 tree command in Rebar3 Features (part 2): Dependency Tree.



