From 043d3e76c91fc44c60bb842eabf043702708855d Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Wed, 19 Jan 2011 14:49:49 +0200 Subject: [PATCH] Add debug_info in erl_opts --- rebar.config | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rebar.config b/rebar.config index 4206495b..dbed45b4 100644 --- a/rebar.config +++ b/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}]}.