[erlang-questions] how do you build your releases with/without rebar?

Loïc Hoguin essen@REDACTED
Thu Apr 10 17:59:39 CEST 2014


On 04/10/2014 05:35 PM, lloyd@REDACTED wrote:
> Hi Loïc,
>
>> It does not support the terrible apps/* layout directly
>
> What, then, is a better way to organize/build a large project with multiple applications?

One application per repository.

Most of your development at any one time should only touch a single 
application. If that is not the case, then you should probably consider 
making these inter-dependent applications a single application.

Working on a single application at a time brings a lot of advantages:

  *  You can work on them separately
  *  You do not have to worry about keeping compatibility with the rest 
of the system all the time, you can use tags for that and only focus on 
compatibility when you update your release
  *  You will be able to test/benchmark/dialyze/.. applications 
individually instead of testing only your system (but doing both is 
important); you can also do it with apps/* layout, but it's too easy not to
  *  It's easier to reason about a smaller unit than "the whole system"

-- 
Loïc Hoguin
http://ninenines.eu



More information about the erlang-questions mailing list