diff options
author | Kresten Krab Thorup <krab@trifork.com> | 2011-05-19 01:15:08 +0200 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2012-07-11 08:42:48 -0600 |
commit | c71bbf6a0d97b87411c1553f1f1285e3a98a33ee (patch) | |
tree | c0897d35c0515ab4e0ad7e36fcc172ed4679e978 | |
parent | 5b765e028f7a45eae4c616c59ba70616d491781e (diff) |
untabify and add some comments
-rw-r--r-- | src/rebar_shell.erl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/rebar_shell.erl b/src/rebar_shell.erl index 0f8d822..f8fa580 100644 --- a/src/rebar_shell.erl +++ b/src/rebar_shell.erl @@ -34,13 +34,15 @@ 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 - false -> - true = code:add_pathz(ebin_dir()), - - user_drv:start(), + false -> + true = code:add_pathz(ebin_dir()), - %% this call never returns (until user quits shell) + user_drv:start(), + + %% this call never returns (until user quits shell) shell:server(false, false); true -> |