diff --git a/rebar.config b/rebar.config index 596db52..57e674d 100644 --- a/rebar.config +++ b/rebar.config @@ -1,5 +1,6 @@ {deps, [ {erlfsmon, ".*", {git, "git@github.com:proger/erlfsmon", "HEAD"}} , {rebar, ".*", {git, "git@github.com:proger/rebar", "HEAD"}} - %, {lager, ".*", {git, "git@github.com:basho/lager", {tag, "2.0.0"}}} + , {lager, ".*", {git, "git@github.com:basho/lager", {tag, "2.0.0"}}} + , {eflame, ".*", {git, "git@github.com:proger/eflame", "HEAD"}} ]}. diff --git a/src/active.erl b/src/active.erl index f480d8a..a2d3603 100644 --- a/src/active.erl +++ b/src/active.erl @@ -161,7 +161,8 @@ rebar_conf(Args) -> rebar_conf(Args, rebar_default_conf()). run_rebar(Commands, Conf) when is_list(Commands) -> {ok, Cwd} = file:get_cwd(), %%% XXX: rebar must not clobber the current directory in the future - try rebar_core:process_commands(Commands, Conf) of + %try rebar_core:process_commands(Commands, Conf) of + try eflame:apply(rebar_core, process_commands, [Commands, Conf]) of R -> R catch Err:Reason ->