[erlang-questions] best source layout with multiple applications

Benoit Chesneau bchesneau@REDACTED
Mon Jan 6 11:22:41 CET 2014


Hi all,

I am wondering what would be the best layout to handle multiple
applications in the same repository and their dependencies? I am using
rebar to handle the build of the apps and the C code they are using.


When I see around I can see the following layouts:

riak is using

 - apps/app1
   ...
   apps/appN for apps

- deps/ for the defaults


cloudi :

 - src/lib/app1
   ...
   src/lib/appN for cloudi apps

- src/external/... for deps included

Erlang

- lib/app1...appN for apps


I am myself thinking to use

- lib/app1....appN for apps
- vendor/.... for deps

maybe under an src/ folder.


But I am curious of what others do. Any feedback is welcome :)

- benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140106/96c62b92/attachment.htm>


More information about the erlang-questions mailing list