Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 77dc1efe27
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (15 sloc) 0.421 kB
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
test: $(REBAR) compile
@$(REBAR) eunit
Jump to Line
Something went wrong with that request. Please try again.