correctly pass compile opts to rebar

This commit is contained in:
alisdair sullivan 2014-04-17 14:08:15 +00:00
parent 6089de017c
commit 91bce610a6

View file

@ -1,7 +1,7 @@
case os:getenv("JSX_NOMAPS") of
false ->
try file:script("config/maps") of {ok, true} ->
[{d, release_supports_maps}] ++ CONFIG
[{erl_opts, [{d, release_supports_maps}]}] ++ CONFIG
catch _:_ -> CONFIG
end;
_ -> CONFIG