Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Let rebar do it :)

  • Loading branch information...
commit 157e6e412fde2a3b1e405cdafc787ecea2726efb 1 parent 8b3c4aa
Fernando Benavides authored
Showing with 4 additions and 5 deletions.
  1. +3 −5 Makefile
  2. +1 −0  rebar.config
View
8 Makefile
@@ -8,15 +8,13 @@ test: all
./rebar eunit
build_plt: all
- dialyzer ebin --build_plt --apps erts kernel stdlib inets crypto eunit --output_plt ~/.riak_err_dialyzer_plt
+ ./rebar build-plt
analyze: all
- dialyzer --plt ~/.riak_err_dialyzer_plt -Wunmatched_returns -Werror_handling -Wrace_conditions -Wbehaviours ebin | grep --color -e "^[^:]*:\|^[^:]*$$"
+ ./rebar dialyze
doc: all
- cp doc/overview.edoc doc/html
- erl -noshell -eval "edoc:files(filelib:wildcard(\"src/*.erl\"), [{dir, \"doc/html\"}, {includes, [\"include\"]}, {source_path, [\"include\", \"src\"]}])" -s init stop
- cd doc/html && git add . && git commit -m 'New doc version' && git push
+ ./rebar doc
xref: all
./rebar xref
View
1  rebar.config
@@ -12,4 +12,5 @@
warn_exported_vars,
warn_missing_spec,
warn_untyped_record, debug_info]}.
+{dialyzer_opts, [{warnings, [unmatched_returns, error_handling, race_conditions, behaviours]}]}.
{xref_checks, [undefined_function_calls]}.
Please sign in to comment.
Something went wrong with that request. Please try again.