Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (13 sloc) 0.386 kB
d9feeed @msantos Spoofing DNS proxy server
authored
1
1643b59 @msantos Now rebarified!
authored
2 REBAR=$(shell which rebar || echo ./rebar)
d9feeed @msantos Spoofing DNS proxy server
authored
3
1643b59 @msantos Now rebarified!
authored
4 all: deps compile
d9feeed @msantos Spoofing DNS proxy server
authored
5
4886fc8 @msantos Download rebar if script does not exist in path
authored
6 ./rebar:
dd6738f @msantos Use github rebar
authored
7 erl -noshell -s inets start -s ssl start \
8 -eval 'httpc:request(get, {"https://github.com/downloads/basho/rebar/rebar", []}, [], [{stream, "./rebar"}])' \
1444451 @msantos Suppress error log
authored
9 -s inets stop -s init stop
4886fc8 @msantos Download rebar if script does not exist in path
authored
10 chmod +x ./rebar
11
12 compile: $(REBAR)
1643b59 @msantos Now rebarified!
authored
13 @$(REBAR) compile
d9feeed @msantos Spoofing DNS proxy server
authored
14
4886fc8 @msantos Download rebar if script does not exist in path
authored
15 clean: $(REBAR)
1643b59 @msantos Now rebarified!
authored
16 @$(REBAR) clean
d9feeed @msantos Spoofing DNS proxy server
authored
17
4886fc8 @msantos Download rebar if script does not exist in path
authored
18 deps: $(REBAR)
1643b59 @msantos Now rebarified!
authored
19 @$(REBAR) get-deps
Something went wrong with that request. Please try again.