diff options
-rw-r--r-- | rebar.config | 23 | ||||
-rw-r--r-- | rebar.lock | 6 |
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}, @@ -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}, |