|
@ -4,11 +4,17 @@ |
|
|
%% escript_incl_extra is for internal rebar-private use only. |
|
|
%% escript_incl_extra is for internal rebar-private use only. |
|
|
%% Do not use outside rebar. Config interface is not stable. |
|
|
%% Do not use outside rebar. Config interface is not stable. |
|
|
{escript_incl_extra, [{"priv/templates/*", "."}]}. |
|
|
{escript_incl_extra, [{"priv/templates/*", "."}]}. |
|
|
|
|
|
|
|
|
%% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17. |
|
|
%% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17. |
|
|
%% At the same time, their counterparts dict() and digraph() are to be deprecated |
|
|
|
|
|
%% in Erlang 18. namespaced_types option is used to select proper type name |
|
|
|
|
|
%% depending of the OTP version used. |
|
|
|
|
|
{erl_opts, [{platform_define, "^[0-9]+", namespaced_types}, warnings_as_errors]}. |
|
|
|
|
|
|
|
|
%% At the same time, their counterparts dict() and digraph() are to be |
|
|
|
|
|
%% deprecated in Erlang 18. namespaced_types option is used to select proper |
|
|
|
|
|
%% type name depending of the OTP version used. |
|
|
|
|
|
{erl_opts, |
|
|
|
|
|
[ |
|
|
|
|
|
{platform_define, "^[0-9]+", namespaced_types}, |
|
|
|
|
|
warnings_as_errors |
|
|
|
|
|
]}. |
|
|
|
|
|
|
|
|
{xref_checks, []}. |
|
|
{xref_checks, []}. |
|
|
{xref_queries, |
|
|
{xref_queries, |
|
|
[{"(XC - UC) || (XU - X - B |
|
|
[{"(XC - UC) || (XU - X - B |
|
|