Added dialyzer support

This commit is contained in:
Maas-Maarten Zeeman
2012-12-27 00:35:28 +01:00
parent d305b0f886
commit d5cb6b103d

View File

@@ -1,4 +1,6 @@
REBAR=./rebar
PROJECT = esqlite
REBAR = ./rebar
DIALYZER = dialyzer
all: compile
@@ -17,3 +19,14 @@ clean: rebar
distclean:
rm $(REBAR)
# dializer
build-plt:
@$(DIALYZER) --build_plt --output_plt .$(PROJECT).plt \
--apps kernel stdlib
dialyze:
@$(DIALYZER) --src src --plt .$(PROJECT).plt --no_native \
-Werror_handling -Wrace_conditions -Wunmatched_returns -Wunderspecs