mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
untabify and add some comments
This commit is contained in:
parent
5b765e028f
commit
c71bbf6a0d
1 changed files with 7 additions and 5 deletions
|
@ -34,13 +34,15 @@
|
||||||
|
|
||||||
shell(_Config, _AppFile) ->
|
shell(_Config, _AppFile) ->
|
||||||
|
|
||||||
|
%% backwards way to say we only want this executed
|
||||||
|
%% 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 ->
|
||||||
|
|
Loading…
Reference in a new issue