jsx/rebar.config.script

9 lines
274 B
Text
Raw Normal View History

case os:getenv("JSX_NOMAPS") or proplists:get_value(jsx_nomaps, CONFIG, false) of
false ->
2014-04-19 00:00:54 +00:00
try file:script("config/maps") of
{ok, true} -> [{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG;
_ -> CONFIG
catch _:_ -> CONFIG
end;
_ -> CONFIG
end.