summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-05-08 11:21:19 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-05-08 11:21:19 -0400
commit6bc5af5479cff211cc4ad4061b61d00c697ddd2b (patch)
tree83f02b767d7f56396526d9d0d26a4e14cc957c1b
parentb5661bd836bdac3eb13560ea3f2cbe01ac9a2288 (diff)
parent5ebaf44f6a027fe08ba28f8aeae4a1cf97819145 (diff)
Merge pull request #393 from tsloughter/no_debug_info
no_debug_info brings down size of escript from 757K to 549K
-rw-r--r--rebar.config8
1 files changed, 4 insertions, 4 deletions
diff --git a/rebar.config b/rebar.config
index 2656e2b..876f725 100644
--- a/rebar.config
+++ b/rebar.config
@@ -33,7 +33,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]}.
@@ -42,9 +42,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, []}