summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2009-12-30 13:13:39 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2009-12-30 13:13:39 +0100
commit8c85021c1ee0ea94a23b1ae8a7d55ee43bb41a9b (patch)
tree2c448b87bf02e82d5fa77bdcb3dfc7d38817ea72 /src/rebar_core.erl
parent5cd5870f320540c616cb39cc89d8002f3c8c518a (diff)
Deleted trailing whitespace
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r--src/rebar_core.erl12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index e6cfa73..b938b4b 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -139,7 +139,7 @@ filter_flags([Item | Rest], Commands) ->
process_dir(Dir, ParentConfig, Commands) ->
ok = file:set_cwd(Dir),
Config = rebar_config:new(ParentConfig),
-
+
%% Save the current code path and then update it with
%% lib_dirs. Children inherit parents code path, but we
%% also want to ensure that we restore everything to pristine
@@ -197,8 +197,8 @@ app_dir(Dir) ->
%%
rel_dir(Dir) ->
rebar_rel_utils:is_rel_dir(Dir).
-
-
+
+
apply_commands([], _Modules, _Config, _ModuleFile) ->
@@ -220,11 +220,11 @@ apply_commands([Command | Rest], Modules, Config, ModuleFile) ->
?FAIL;
Other ->
?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]),
- ?FAIL
+ ?FAIL
end
end.
-
+
update_code_path(Config) ->
case rebar_config:get(Config, lib_dirs, []) of
[] ->
@@ -241,7 +241,7 @@ restore_code_path(no_change) ->
restore_code_path({old, Path}) ->
true = code:set_path(Path),
ok.
-
+
expand_lib_dirs([], _Root, Acc) ->
Acc;