Download rebar from github
This commit is contained in:
6
Makefile
6
Makefile
@@ -3,10 +3,8 @@ REBAR=$(shell which rebar || echo ./rebar)
|
|||||||
all: compile
|
all: compile
|
||||||
|
|
||||||
./rebar:
|
./rebar:
|
||||||
erl -noshell -s inets start \
|
erl -noshell -s inets start -s ssl start \
|
||||||
-eval 'httpc:request(get, {\
|
-eval 'httpc:request(get, {"https://github.com/downloads/basho/rebar/rebar", []}, [], [{stream, "./rebar"}])' \
|
||||||
"http://hg.basho.com/rebar/downloads/rebar", []\
|
|
||||||
}, [], [{stream, "./rebar"}])' \
|
|
||||||
-s init stop
|
-s init stop
|
||||||
chmod +x ./rebar
|
chmod +x ./rebar
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user