aboutsummaryrefslogtreecommitdiffstats
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
parent58fec57db3d99ffb5aefd0d5751d7bbda6762f66 (diff)
downloadrelx-693dcb8ca37b6d839d82197eacac86681c427dc7.tar.gz
relx-693dcb8ca37b6d839d82197eacac86681c427dc7.tar.bz2
relx-693dcb8ca37b6d839d82197eacac86681c427dc7.zip
remove unneeded deps and debug_info
-rw-r--r--rebar.config23
-rw-r--r--rebar.lock6
2 files changed, 20 insertions, 9 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},
diff --git a/rebar.lock b/rebar.lock
index f9c2bd9..9d11226 100644
--- a/rebar.lock
+++ b/rebar.lock
@@ -1,8 +1,4 @@
-[{<<"rebar_vsn_plugin">>,
- {git,"https://github.com/erlware/rebar_vsn_plugin.git",
- {ref,"fd40c960c7912193631d948fe962e1162a8d1334"}},
- 1},
- {<<"providers">>,
+[{<<"providers">>,
{git,"https://github.com/tsloughter/providers.git",
{ref,"d565693cbbca3457df34d95c53c47e1faa8cde6c"}},
0},