From f301efae323c62ca529324c0596cee0eb6449ba0 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 5 May 2015 22:36:53 -0500 Subject: no_debug_info brings down size of escript from 757K to 549K --- rebar.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config b/rebar.config index 0c6dd3c..e06de70 100644 --- a/rebar.config +++ b/rebar.config @@ -30,7 +30,7 @@ [{platform_define, "R14", no_callback_support}, {platform_define, "^[0-9]+", namespaced_types}, {platform_define, "^R1[4|5]", deprecated_crypto}, - debug_info, + no_debug_info, warnings_as_errors]}. {dialyzer_plt_apps, [common_test, dialyzer, eunit, snmp]}. -- cgit v1.1 From 5ebaf44f6a027fe08ba28f8aeae4a1cf97819145 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Thu, 7 May 2015 09:58:32 -0500 Subject: include debug_info when running tests of rebar3 --- rebar.config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rebar.config b/rebar.config index e06de70..e58ae0e 100644 --- a/rebar.config +++ b/rebar.config @@ -39,9 +39,9 @@ {profiles, [{test, [{deps, [ {meck, "", {git, "https://github.com/eproxus/meck.git", {tag, "0.8.2"}}} - ]} - ] - }, + ]}, + {erl_opts, [debug_info]} + ]}, %% We don't want erlydtl to attempt to run on the first compile pass to bootstrap {bootstrap, []} -- cgit v1.1