[erlang-questions] erlang.mk, relx, multiple apps, directory structure

Steve Strong <>
Tue Apr 1 08:20:45 CEST 2014


Feel free to take a look at https://github.com/id3as/erl-mk - it’s a work-in-progress, but we are using it on a couple of projects…

Cheers,

Steve  

--  
Steve Strong
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Tuesday, 1 April 2014 at 01:08, Alex Shneyderman wrote:

> https://github.com/rustyio/BashoBanjo
> https://github.com/sylane/erod
>  
> both use rebar and multi-app setup. The problem that you are bound to
> run into with this setup is the long list of inter-dependent apps. The
> exact list of the apps becomes important as the ones that do not
> depend on anything should percolate to the top and the neediest apps
> should be at the bottom.
>  
> It is possible to come up with a similar structure for erlang.mk +
> relx. But you'd have to do a lot of gnu make hacking before it works
> (for example, the link that Loic posted sidelines the problem of
> inter-dependent apps all-together, I believe; there is a lot more than
> meets the eye). Another problem is some dependencies are built with
> rebar, so some funky versioning schemes that rebar supports and pre
> and post hooks make it hard to live without rebar - erlang.mk can call
> rebar but still you will need rebar for those particular deps.
>  
>  
> On Mon, Mar 31, 2014 at 6:35 PM, t x < (mailto:)> wrote:
> > To avoid the X-Y problem: I'm not particular attached to erlang.mk + relx.
> >  
> > I just want a set of tools for "how do I design the directory
> > structure of a multiple-app erlang program."
> >  
> > On Mon, Mar 31, 2014 at 3:31 PM, t x < (mailto:)> wrote:
> > > Hi,
> > >  
> > > Can someone please point me to a git hub repo that:
> > >  
> > > 1) uses erlang.mk + relx
> > >  
> > > 2) has multiple apps
> > >  
> > > 3) is an example of directory structure I should copy?
> > >  
> > > Thanks!
> > >  
> > > Problem: I'm starting to need to refactor my code, and I want to know
> > > what an idiomatic multiple-app directory structure looks like.
> > >  
> >  
> > _______________________________________________
> > erlang-questions mailing list
> >  (mailto:)
> > http://erlang.org/mailman/listinfo/erlang-questions
> >  
>  
> _______________________________________________
> erlang-questions mailing list
>  (mailto:)
> http://erlang.org/mailman/listinfo/erlang-questions
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140401/a8a16ca4/attachment.html>


More information about the erlang-questions mailing list