[erlang-questions] "official" pre-built rebar binaries

Loïc Hoguin essen@REDACTED
Thu Dec 13 17:37:02 CET 2012


On 12/13/2012 05: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
>
> ./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

Github just announced that they removed support for file upload though.

https://github.com/blog/1302-goodbye-uploads

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-questions mailing list