Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 322e214f98
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (13 sloc) 0.38 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
REBAR=$(shell which rebar || echo ./rebar)

all: compile

./rebar:
erl -noshell -s inets start -s ssl start \
-eval 'httpc:request(get, {"https://github.com/downloads/basho/rebar/rebar", []}, [], [{stream, "./rebar"}])' \
-s inets stop -s init stop
chmod +x ./rebar

compile: $(REBAR)
@$(REBAR) compile

clean: $(REBAR)
@$(REBAR) clean

deps: $(REBAR)
@$(REBAR) get-deps
Something went wrong with that request. Please try again.