[erlang-questions] how do you build your releases with/without rebar?
lloyd@REDACTED
lloyd@REDACTED
Thu Apr 10 17:35:14 CEST 2014
Hi Loïc,
> It does not support the terrible apps/* layout directly
What, then, is a better way to organize/build a large project with multiple applications?
Thanks,
LRP
-----Original Message-----
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
--
Loïc Hoguin
http://ninenines.eu
_______________________________________________
erlang-questions mailing list
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list