Skip to content

Commit

Permalink
Add debug_info in erl_opts
Browse files Browse the repository at this point in the history
  • Loading branch information
kostis committed Jan 19, 2011
1 parent eebacb6 commit 043d3e7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions rebar.config
@@ -1,13 +1,14 @@
% WARNING: Our version of rebar doesn't automatically report warnings, nor does
% it add erl_opts to eunit_compile_opts.
%% WARNING: Our version of rebar doesn't automatically report warnings,
%% nor does it add erl_opts to eunit_compile_opts.

% WARNING: To compile on versions of Erlang/OTP older than R13B4, add
% {d,'NO_TYPES'} to erl_opts.
%% WARNING: To compile on versions of Erlang/OTP older than R13B4, add
%% {d,'NO_TYPES'} to erl_opts.

{erl_first_files, ["strip_types.erl"]}.
{erl_opts, [debug_info, report_warnings, {warn_format,1}, warn_export_vars,
warn_obsolete_guard, warn_unused_import, warn_missing_spec,
warn_untyped_record]}.
{erl_opts, [debug_info,
report_warnings, {warn_format,1}, warn_export_vars,
warn_obsolete_guard, warn_unused_import,
warn_missing_spec, warn_untyped_record]}.
{edoc_opts, [{dialyzer_specs,all}, {report_missing_type,true},
{report_type_mismatch,true}, {pretty_print,erl_pp},
{preprocess,true}]}.
Expand Down

0 comments on commit 043d3e7

Please sign in to comment.