Skip to content

Commit

Permalink
Add purity target to build configs
Browse files Browse the repository at this point in the history
  • Loading branch information
solleks committed Sep 8, 2012
1 parent cf9aa5e commit d46e9db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ dialyzer: compile

doc:
./rebar skip_deps=true doc

purity: compile
if [ ! -d purity ]; then mkdir purity; fi
purity -v -m -s purity/stats -o purity/results --top-funs purity/top_functions --apps apps/of_switch/ebin deps/*/ebin
3 changes: 2 additions & 1 deletion rebar.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{require_otp_vsn, "R15B"}.

{erl_opts, [fail_on_warning,
{parse_transform, lager_transform}]}.
{parse_transform, lager_transform},
debug_info]}.

{sub_dirs, [
"apps/of_switch",
Expand Down

0 comments on commit d46e9db

Please sign in to comment.