Question

I'm embarking on a large project with multiple applications; wondering how to best organize it under Rebar. My current thinking below. Is this a satisfactory solution or is there a better scheme?

project_root_dir
   apps 
      application1 
      application2
      ...       
   deps
      dep1
      dep2
      ...
   rebar.config

Where rebar.config looks like:

{sub_dirs, ["apps/application1",
            "apps/application2",
            ...
           ]}.

{lib_dirs, ["deps"]}.
{deps, [dep1,
        dep2,
        ...
        ]}.

Many thanks for your guidance.

LRP

Was it helpful?

Solution

Another approach is to keep each application in apps in a separate repository and then you can have an assembling repository which runs the release. Riak is distributed like this.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top