hanoidb/Makefile

52 lines
801 B
Makefile
Raw Normal View History

2012-06-19 14:00:06 +00:00
REBAR= rebar
DIALYZER= dialyzer
.PHONY: plt analyze all deps compile get-deps clean
all: compile
deps: get-deps
get-deps:
@$(REBAR) get-deps
compile:
@$(REBAR) compile
clean:
@$(REBAR) clean
test: eunit
eunit: compile clean-test-btrees
@$(REBAR) eunit skip_deps=true
2012-01-21 14:13:22 +00:00
eunit_console:
erl -pa .eunit deps/*/ebin
clean-test-btrees:
rm -fr .eunit/Btree_* .eunit/simple
plt: compile
2012-04-21 19:20:39 +00:00
$(DIALYZER) --build_plt --output_plt .hanoi.plt \
-pa deps/snappy/ebin \
-pa deps/plain_fsm/ebin \
deps/plain_fsm/ebin \
--apps kernel stdlib
analyze: compile
2012-04-21 19:20:39 +00:00
$(DIALYZER) --plt .hanoi.plt \
-pa deps/snappy/ebin \
-pa deps/plain_fsm/ebin \
ebin
analyze-nospec: compile
$(DIALYZER) --plt .hanoi.plt \
-pa deps/plain_fsm/ebin \
--no_spec \
ebin
repl:
2012-06-14 17:03:55 +00:00
erl -pz deps/*/ebin -pa ebin