aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2015-05-08 18:31:43 -0700
committerJordan Wilberding <[email protected]>2015-05-08 18:31:43 -0700
commita4758ae461ef1e0ba9db3ad58abbe89fe235dac4 (patch)
treec96544e6d0e4287f0124b0170e559bcc0f89a798
parent2e59b1c95575b3c104cc191e954c82baadc43c6c (diff)
parent693dcb8ca37b6d839d82197eacac86681c427dc7 (diff)
downloadrelx-a4758ae461ef1e0ba9db3ad58abbe89fe235dac4.tar.gz
relx-a4758ae461ef1e0ba9db3ad58abbe89fe235dac4.tar.bz2
relx-a4758ae461ef1e0ba9db3ad58abbe89fe235dac4.zip
Merge pull request #343 from tsloughter/masterv2.0.0
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},