[erlang-questions] how do you build your releases with/without rebar?

Loïc Hoguin essen@REDACTED
Thu Apr 10 11:29:53 CEST 2014


> 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



More information about the erlang-questions mailing list