[erlang-questions] how do you build your releases with/without rebar?
Thu Apr 10 17:35:14 CEST 2014
> It does not support the terrible apps/* layout directly
What, then, is a better way to organize/build a large project with multiple applications?
From: "Loïc Hoguin" <essen@REDACTED>
Sent: Thursday, April 10, 2014 5:29am
To: "Benoit Chesneau" <bchesneau@REDACTED>
Cc: "erlang-questions@REDACTED" <erlang-questions@REDACTED>
Subject: Re: [erlang-questions] how do you build your releases with/without rebar?
> Using erlang.mk <http://erlang.mk>:
> 1. fetch the dependeinces using curl and some links you have in a file
> or such thing
> 2. compile, but not sure if every apps in apps/* are compiled
> 3. use relx or anything else to buld the relese
Have you read the readme? It's the same logic as rebar, except you put
deps in your Makefile instead of rebar.config. After that, you simply
type "make" and it does the fetching, compiling and even builds the
release if there is a relx.config file.
It does not support the terrible apps/* layout directly, but it's easily
done using a top-level Makefile like the one that was posted in that
other thread earlier today: https://gist.github.com/RJ/6977165
erlang-questions mailing list
More information about the erlang-questions