Skip to content
This repository
Newer
Older
100644 16 lines (11 sloc) 0.346 kb
04060181 »
2009-12-03 Add licensing and do cleanup. In other words, do stuff.
1
ef96444c »
2010-09-12 Locate the rebar script
2 REBAR=$(shell which rebar || echo ./rebar)
04060181 »
2009-12-03 Add licensing and do cleanup. In other words, do stuff.
3
fc079897 »
2010-10-10 rebar needed for clean as well
4 all: compile
51379e43 »
2010-10-08 Download rebar if script does not exist in path
5
6 ./rebar:
eda2360c »
2010-12-28 Use github rebar
7 erl -noshell -s inets start -s ssl start \
8 -eval 'httpc:request(get, {"https://github.com/downloads/basho/rebar/rebar", []}, [], [{stream, "./rebar"}])' \
5e0e5efd »
2010-12-28 Suppress error log
9 -s inets stop -s init stop
51379e43 »
2010-10-08 Download rebar if script does not exist in path
10 chmod +x ./rebar
04060181 »
2009-12-03 Add licensing and do cleanup. In other words, do stuff.
11
fc079897 »
2010-10-10 rebar needed for clean as well
12 compile: $(REBAR)
bd13176c »
2010-09-11 Rebarize
13 @$(REBAR) compile
04060181 »
2009-12-03 Add licensing and do cleanup. In other words, do stuff.
14
fc079897 »
2010-10-10 rebar needed for clean as well
15 clean: $(REBAR)
bd13176c »
2010-09-11 Rebarize
16 @$(REBAR) clean
04060181 »
2009-12-03 Add licensing and do cleanup. In other words, do stuff.
17
Something went wrong with that request. Please try again.