문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top