summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config13
1 files changed, 9 insertions, 4 deletions
diff --git a/rebar.config b/rebar.config
index ea5af27..eabf3ac 100644
--- a/rebar.config
+++ b/rebar.config
@@ -2,16 +2,20 @@
%% ex: ts=4 sw=4 ft=erlang et
{deps, [{erlware_commons, "0.21.0"},
- {ssl_verify_hostname, "1.0.5"},
+ {ssl_verify_fun, "1.1.1"},
{certifi, "0.4.0"},
{providers, "1.6.0"},
{getopt, "0.8.2"},
{bbmustache, "1.0.4"},
- {relx, "3.19.0"},
+ {relx, "3.21.0"},
{cf, "0.2.1"},
- {cth_readable, "1.2.2"},
+ {cth_readable, "1.2.3"},
{eunit_formatters, "0.3.1"}]}.
+{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
+ escriptize,
+ "cp $REBAR_BUILD_DIR/bin/rebar3 ./rebar3 && chmod u+x rebar3"}]}.
+
{escript_name, rebar3}.
{escript_emu_args, "%%! +sbtu +A0\n"}.
%% escript_incl_extra is for internal rebar-private use only.
@@ -20,6 +24,7 @@
{"rebar/priv/templates/*", "_build/default/lib/"}]}.
{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
+ {platform_define, "^(19|2)", rand_only},
no_debug_info,
warnings_as_errors]}.
@@ -36,7 +41,7 @@
{bootstrap, []},
{dialyze, [{overrides, [{add, erlware_commons, [{erl_opts, [debug_info]}]},
- {add, ssl_verify_hostname, [{erl_opts, [debug_info]}]},
+ {add, ssl_verify_fun, [{erl_opts, [debug_info]}]},
{add, certifi, [{erl_opts, [debug_info]}]},
{add, providers, [{erl_opts, [debug_info]}]},
{add, getopt, [{erl_opts, [debug_info]}]},