Skip to content

Commit 81e7e40

Browse files
committed
eflame-example
1 parent 003697b commit 81e7e40

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

rebar.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{deps, [
22
{erlfsmon, ".*", {git, "[email protected]:proger/erlfsmon", "HEAD"}}
33
, {rebar, ".*", {git, "[email protected]:proger/rebar", "HEAD"}}
4-
%, {lager, ".*", {git, "[email protected]:basho/lager", {tag, "2.0.0"}}}
4+
, {lager, ".*", {git, "[email protected]:basho/lager", {tag, "2.0.0"}}}
5+
, {eflame, ".*", {git, "[email protected]:proger/eflame", "HEAD"}}
56
]}.

src/active.erl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ rebar_conf(Args) -> rebar_conf(Args, rebar_default_conf()).
161161
run_rebar(Commands, Conf) when is_list(Commands) ->
162162
{ok, Cwd} = file:get_cwd(),
163163
%%% XXX: rebar must not clobber the current directory in the future
164-
try rebar_core:process_commands(Commands, Conf) of
164+
%try rebar_core:process_commands(Commands, Conf) of
165+
try eflame:apply(rebar_core, process_commands, [Commands, Conf]) of
165166
R -> R
166167
catch
167168
Err:Reason ->

0 commit comments

Comments
 (0)