Got rid of Dialyzer warnings

This commit is contained in:
Alexey Romanov
2010-10-14 12:40:47 +04:00
parent bab3014e1a
commit 56bfbe484d
2 changed files with 37 additions and 30 deletions

View File

@@ -1,23 +1,24 @@
REBAR=./rebar
REBAR_COMPILE=$(REBAR) get-deps compile
all: compile
compile:
$(REBAR) get-deps compile
$(REBAR_COMPILE)
test: all
$(REBAR) skip_deps=true eunit
test:
$(REBAR_COMPILE) skip_deps=true eunit
clean:
-rm -rf deps ebin priv doc/*
docs:
$(REBAR) doc
$(REBAR_COMPILE) doc
ifeq ($(wildcard dialyzer/sqlite3.plt),)
static:
$(REBAR) build_plt analyze
$(REBAR_COMPILE) build_plt analyze
else
static:
$(REBAR) analyze
$(REBAR_COMPILE) analyze
endif