jsx/rebar.config.script

9 lines
265 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
2014-04-21 23:44:41 +00:00
{ok, true} -> [{erl_opts, [{d, maps_support}]}] ++ CONFIG;
2014-04-19 00:00:54 +00:00
_ -> CONFIG
catch _:_ -> CONFIG
end;
_ -> CONFIG
end.