aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-05-08 18:21:12 -0500
committerTristan Sloughter <[email protected]>2015-05-08 18:21:12 -0500
commit693dcb8ca37b6d839d82197eacac86681c427dc7 (patch)
treec96544e6d0e4287f0124b0170e559bcc0f89a798 /rebar.config
parent58fec57db3d99ffb5aefd0d5751d7bbda6762f66 (diff)
downloadrelx-693dcb8ca37b6d839d82197eacac86681c427dc7.tar.gz
relx-693dcb8ca37b6d839d82197eacac86681c427dc7.tar.bz2
relx-693dcb8ca37b6d839d82197eacac86681c427dc7.zip
remove unneeded deps and debug_info
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},