diff --git a/rebar.config.script b/rebar.config.script new file mode 100644 index 0000000..02efadf --- /dev/null +++ b/rebar.config.script @@ -0,0 +1,6 @@ +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. \ No newline at end of file