aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2017-03-14 09:20:03 -0700
committerGitHub <[email protected]>2017-03-14 09:20:03 -0700
commitd64be0acf966c25a68fce6b37788ff3fb8a5373b (patch)
tree8bce266b189d587c32313d7a8047d705b8571771 /rebar.config
parent87faa210dd6a5589ff86a9cc6992a413022feea7 (diff)
parent7aa3c7e15781e74c69942c02f22db3fd5a1a26af (diff)
downloadrelx-d64be0acf966c25a68fce6b37788ff3fb8a5373b.tar.gz
relx-d64be0acf966c25a68fce6b37788ff3fb8a5373b.tar.bz2
relx-d64be0acf966c25a68fce6b37788ff3fb8a5373b.zip
Merge pull request #575 from lrascao/feature/no_debug_info
Don't drop debug info on default build
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config11
1 files changed, 9 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config
index 664a5a8..395fdd7 100644
--- a/rebar.config
+++ b/rebar.config
@@ -17,7 +17,6 @@
[{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^1[8|9]", rand_module},
{platform_define, "^2", rand_module},
- no_debug_info,
warnings_as_errors,
inline]}.
@@ -39,7 +38,15 @@
{add, getopt, [{erl_opts, [debug_info]}]},
{add, bbmustache, [{erl_opts, [debug_info]}]},
{add, cf, [{erl_opts, [debug_info]}]}]},
- {erl_opts, [debug_info]}]}
+ {erl_opts, [debug_info]}]},
+ {escript, [
+ {overrides, [{add, erlware_commons, [{erl_opts, [no_debug_info]}]},
+ {add, providers, [{erl_opts, [no_debug_info]}]},
+ {add, getopt, [{erl_opts, [no_debug_info]}]},
+ {add, bbmustache, [{erl_opts, [no_debug_info]}]},
+ {add, cf, [{erl_opts, [no_debug_info]}]}]},
+ {erl_opts, [no_debug_info]}
+ ]}
]}.
{overrides, [{override, erlware_commons, [