make static works again

This commit is contained in:
Alexey Romanov
2010-10-14 12:25:03 +04:00
parent 2c84aefb48
commit bab3014e1a
2 changed files with 5 additions and 5 deletions

View File

@@ -14,10 +14,10 @@ clean:
docs: docs:
$(REBAR) doc $(REBAR) doc
ifeq ($(wildcard sqlite3.plt),) ifeq ($(wildcard dialyzer/sqlite3.plt),)
static: static:
dialyzer --build_plt --output_plt sqlite3.plt --apps erts kernel stdlib crypto compiler hipe syntax_tools -r ebin $(REBAR) build_plt analyze
else else
static: static:
dialyzer --add_to_plt --plt sqlite3.plt -r ebin --get_warnings $(REBAR) analyze
endif endif

View File

@@ -1,6 +1,6 @@
% -*- mode: erlang -*- % -*- mode: erlang -*-
{erlc_opts, [debug_info]}. {erl_opts, [debug_info]}. %% required for dialyzer
{port_envs, [{"DRV_LDFLAGS", "$DRV_LDFLAGS -lsqlite3"}]}. {port_envs, [{"DRV_LDFLAGS", "$DRV_LDFLAGS -lsqlite3"}]}.
{cover_enabled, true}. {cover_enabled, true}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}. {eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
{plt, "./sqlite3.plt"}. {dialyzer_opts, [{plt, "dialyzer/sqlite3.plt"}]}.