From 91bce610a6f451232e9bf51a161ff4d6b8f163f7 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 17 Apr 2014 14:08:15 +0000 Subject: [PATCH] correctly pass compile opts to rebar --- rebar.config.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebar.config.script b/rebar.config.script index ce4ca9f..4d5ec7f 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -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