Provide a Makefile for running dialyzer.

While here, also dump another slew of goodies in the makefile.
This commit is contained in:
Jesper Louis Andersen 2012-01-06 21:22:23 +01:00
parent b21e253324
commit fcf7af36ca
2 changed files with 31 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@ ebin
deps
*~
.eunit
/.fractal_btree.plt

30
Makefile Normal file
View file

@ -0,0 +1,30 @@
REBAR = ./rebar
DIALYZER = dialyzer
.PHONY: plt analyze all deps compile get-deps clean
all: compile
get-deps:
@$(REBAR) get-deps
compile:
@$(REBAR) compile
clean:
@$(REBAR) clean
plt: compile
$(DIALYZER) --build_plt --output_plt .fractal_btree.plt \
-pa deps/plain_fsm/ebin \
-pa deps/ebloom/ebin \
deps/plain_fsm/ebin \
deps/ebloom/ebin \
--apps kernel stdlib
analyze: compile
$(DIALYZER) --plt .fractal_btree.plt \
-pa deps/plain_fsm/ebin \
-pa deps/ebloom/ebin \
ebin