Fix crazy indentation :-)

This commit is contained in:
Kresten Krab Thorup 2011-06-21 20:13:17 +02:00 committed by Dave Smith
parent b890421cae
commit 4541f8f5db

View file

@ -33,20 +33,16 @@
-export([shell/2]). -export([shell/2]).
shell(_Config, _AppFile) -> shell(_Config, _AppFile) ->
%% backwards way to say we only want this executed %% backwards way to say we only want this executed
%% for the "top level" directory %% for the "top level" directory
case is_deps_dir(rebar_utils:get_cwd()) of case is_deps_dir(rebar_utils:get_cwd()) of
false -> false ->
true = code:add_pathz(ebin_dir()), true = code:add_pathz(ebin_dir()),
user_drv:start(), user_drv:start(),
%% this call never returns (until user quits shell) %% this call never returns (until user quits shell)
shell:server(false, false); shell:server(false, false);
true ->
true -> ok
ok
end, end,
ok. ok.
@ -55,8 +51,8 @@ ebin_dir() ->
is_deps_dir(Dir) -> is_deps_dir(Dir) ->
case lists:reverse(filename:split(Dir)) of case lists:reverse(filename:split(Dir)) of
[_, "deps" | _] -> [_, "deps" | _] ->
true; true;
_V -> _V ->
false false
end. end.