Permalink
Browse files

Added a Makefile for elli development.

  • Loading branch information...
1 parent 4b7edae commit bea9c01b13dc2deb3c3dfdf924ea7970558d8a0e @anha0825 anha0825 committed Jun 27, 2013
Showing with 12 additions and 1 deletion.
  1. +2 −1 .gitignore
  2. +9 −0 Makefile
  3. +1 −0 rebar.config
View
@@ -3,4 +3,5 @@ ebin/**
*.beam
.eunit
*~
-#*
+#*
+.dialyzer.plt
View
@@ -0,0 +1,9 @@
+compile:
+ ./rebar compile
+ ./rebar xref skip_deps=true
+
+init_dialyzer:
+ dialyzer --apps stdlib kernel erts crypto --build_plt --output_plt .dialyzer.plt
+
+dialyzer: compile
+ dialyzer --no_native -Wno_return -r ebin --plt .dialyzer.plt
View
@@ -2,3 +2,4 @@
{erl_opts, [debug_info]}.
{cover_enabled, true}.
{deps, []}.
+{xref_checks, [undefined_function_calls,locals_not_used]}.

0 comments on commit bea9c01

Please sign in to comment.