jsx/rebar.config.script

6 lines
240 B
Text
Raw Normal View History

application:start(compiler),
case {erlang:system_info(version), application:get_key(compiler, vsn)} of
{X, {ok, Y}} when X >= "6.0" andalso Y >= "5.0" ->
CONFIG ++ [{erl_opts, [{d, release_supports_maps}]}];
_ -> CONFIG
end.