parent
f3894b827b
commit
9d4534edc5
6 changed files with 39 additions and 16 deletions
11
rebar.config.script
Normal file
11
rebar.config.script
Normal file
|
@ -0,0 +1,11 @@
|
|||
Def0 = case erlang:is_builtin(erlang, binary_to_integer, 1) andalso
|
||||
erlang:is_builtin(erlang, binary_to_float, 1) of
|
||||
true -> [];
|
||||
false -> [{d, no_binary_to_whatever}]
|
||||
end,
|
||||
Defs = case erlang:is_builtin(erlang, is_map, 1) of
|
||||
true -> [{d, maps_support}|Def0];
|
||||
false -> Def0
|
||||
end,
|
||||
lists:keystore(erl_opts, 1, CONFIG,
|
||||
{erl_opts, proplists:get_value(erl_opts, CONFIG, []) ++ Defs}).
|
Loading…
Add table
Add a link
Reference in a new issue