diff options
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/rebar.config b/rebar.config index 876f725..5eaf6de 100644 --- a/rebar.config +++ b/rebar.config @@ -9,11 +9,11 @@ {git, "https://github.com/tsloughter/providers.git", {tag, "v1.3.1"}}}, {relx, "", - {git, "https://github.com/tsloughter/relx.git", - {branch, "mustache"}}}, + {git, "https://github.com/erlware/relx.git", + {tag, "v2.0.0"}}}, {mustache, ".*", {git, "https://github.com/soranoba/mustache.git", - {branch, "master"}}}, + {tag, "v0.3.0"}}}, {getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}. @@ -51,5 +51,21 @@ ]}. %% Overrides -{overrides, [{override, erlware_commons, [{deps, []}, {plugins, []}]}, - {override, mustache, [{deps, []}, {plugins, []}]}]}. +{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, [{platform_define, "^[0-9]+", namespaced_types}, + no_debug_info]}, + {deps, []}, {plugins, []}]}, + {override, getopt, [{erl_opts, [no_debug_info]}]}, + {override, providers, [{erl_opts, [no_debug_info]}]}, + {override, relx, [{erl_opts, [{platform_define, "^[0-9]+", namespaced_types}, + {platform_define, "^R1[4|5]", deprecated_crypto}, + no_debug_info, + warnings_as_errors]}]} + ]}. |