[erlang-questions] "official" pre-built rebar binaries
Tuncer Ayaz
tuncer.ayaz@REDACTED
Thu Dec 13 17:52:09 CET 2012
On Thu, Dec 13, 2012 at 5:34 PM, Motiejus Jakštys wrote:
> Hi,
>
> this is how I used to start my Erlang project Makefiles:
>
> REBAR ?= ./rebar
> REBAR_URL ?= https://github.com/downloads/basho/rebar/rebar
Dizzy usually puts a new binary per release in the wiki by
calling 'make binary':
REBAR_URL ?= https://raw.github.com/wiki/rebar/rebar/rebar
> ./rebar:
> erl -noshell -s inets start -s ssl start \
> -eval 'httpc:request(get, {"$(REBAR_URL)", []}, [], [{stream,
> "./rebar"}])' \
> -s inets stop -s init stop
> chmod +x ./rebar
>
> It worked fine and such, but for a new project I need a newer rebar.
> Would it be possible to have a more recent pre-built "official" rebar
> in an "official" repository?
>
> Suggestion: create a rebar binary for every tag. Compile it on a
> lowest supported platform (R13B04?), and put the resulting binaries
> like this:
> https://github.com/downloads/rebar/rebar/rebar-2.0.0
> https://github.com/downloads/rebar/rebar/rebar-2.1.0-pre
More information about the erlang-questions
mailing list