aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config23
1 files changed, 19 insertions, 4 deletions
diff --git a/rebar.config b/rebar.config
index 37f10c5..4ff2aa4 100644
--- a/rebar.config
+++ b/rebar.config
@@ -21,7 +21,7 @@
%% Compiler Options ============================================================
{erl_opts,
[{platform_define, "^[0-9]+", namespaced_types},
- debug_info,
+ no_debug_info,
warnings_as_errors,
inline]}.
@@ -34,10 +34,25 @@
{profiles, [{dev, [{deps, [{neotoma, ".*",
{git, "https://github.com/seancribbs/neotoma.git", {branch, "master"}}}
]}
- ]
- }]}.
+ ]},
-{overrides, [{override, mustache, [{deps, []}, {plugins, []}]}]}.
+ {test, [{erl_opts, [debug_info]}]}
+ ]}.
+
+{overrides, [{override, erlware_commons, [
+ {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
+ {platform_define, "^R1[4|5]", deprecated_crypto},
+ no_debug_info,
+ warnings_as_errors
+ ]},
+ {deps, []}, {plugins, []}
+ ]},
+ {override, mustache, [
+ {erl_opts, [no_debug_info]},
+ {deps, []}, {plugins, []}]},
+ {override, getopt, [{erl_opts, [no_debug_info]}]},
+ {override, providers, [{erl_opts, [no_debug_info]}]}
+ ]}.
{ct_opts, [{cover_spec, "cover.spec"},
{cover_enabled, true},