mirror of
https://github.com/valitydev/cache.git
synced 2024-11-06 01:45:19 +00:00
34 lines
440 B
Makefile
34 lines
440 B
Makefile
.PHONY: deps test
|
|
|
|
all: rebar deps compile
|
|
|
|
compile:
|
|
./rebar compile
|
|
|
|
deps:
|
|
./rebar get-deps
|
|
|
|
clean:
|
|
./rebar clean
|
|
rm -rf test.*-temp-data
|
|
|
|
distclean: clean
|
|
./rebar delete-deps
|
|
|
|
test: all
|
|
./rebar skip_deps=true eunit
|
|
|
|
docs:
|
|
./rebar skip_deps=true doc
|
|
|
|
dialyzer: compile
|
|
@dialyzer -Wno_return -c ./ebin
|
|
|
|
run:
|
|
erl -pa ./deps/*/ebin -pa ./ebin
|
|
|
|
rebar:
|
|
curl -O http://cloud.github.com/downloads/basho/rebar/rebar
|
|
chmod ugo+x rebar
|
|
|