Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 425 Bytes
.PHONY: compile test clean
compile: rebar
@./rebar compile
test: rebar
@./rebar skip_deps=true eunit
speed_test: rebar clean compile
@erl -noshell -pa ebin/ \
-eval 'pkt_checksum_speed_tests:run().' \
-s init stop
clean: rebar
@./rebar clean
rebar:
@erl -noshell -s inets \
-eval 'httpc:request(get, {"http://bit.ly/getrebar", []}, [], [{stream, "rebar"}])' \
-s init stop
@chmod u+x rebar