diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9d0ac24 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +REBAR=./rebar + +all: compile + +rebar: + wget https://bitbucket.org/basho/rebar/downloads/rebar -O $(REBAR) + chmod u+x $(REBAR) + +compile: rebar + $(REBAR) compile + +test: compile + $(REBAR) eunit + +clean: rebar + $(REBAR) clean + +distclean: + rm $(REBAR)