Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
## DEALINGS IN THE SOFTWARE.
REBAR=$(shell which rebar || echo ./rebar)

.PHONY: all compile clean eunit test eqc doc check dialyzer
.PHONY: all compile clean eunit test eqc doc check dialyzer di

DIRS=src

Expand All @@ -46,5 +46,7 @@ test: eunit
doc:
$(REBAR) get-deps compile doc

dialyzer:
dialyzer: compile
$(REBAR) skip_deps=true dialyze

di: dialyzer
4 changes: 3 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
{git, "https://github.com/garret-smith/gen_leader_revival.git", "HEAD"}}
]}.
{dialyzer_opts, [{warnings, [no_unused,
no_undefined_callbacks,
no_improper_lists, no_fun_app, no_match,
no_opaque, no_fail_call,
error_handling, no_match,
unmatched_returns,
behaviours, underspecs]}]}.
behaviours,
underspecs]}]}.
{edoc_opts, [{doclet, edown_doclet},
{app_default, "http://www.erlang.org/doc/man"},
{top_level_readme,
Expand Down
Loading