Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: R13B03
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (15 sloc) 0.397 kb
REBAR=$(shell which rebar || echo ./rebar)
all: dirs compile
./rebar:
erl -noshell -s inets start \
-eval 'httpc:request(get, {"http://hg.basho.com/rebar/downloads/rebar", []}, [], [{stream, "./rebar"}])' \
-s inets stop -s init stop
chmod +x ./rebar
dirs:
-@mkdir -p priv/tmp
compile: $(REBAR)
@$(REBAR) compile
clean: $(REBAR)
@$(REBAR) clean
deps: $(REBAR)
@$(REBAR) get-deps
Jump to Line
Something went wrong with that request. Please try again.