summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-06-04 12:21:24 -0600
committerDave Smith <dizzyd@dizzyd.com>2010-06-04 12:21:24 -0600
commit623200ec17c23973e137f2169a48d6837dd57a3c (patch)
tree5a39cb9fe18a4d6658fe6718e878eb7658c001dc /src/rebar_core.erl
parent30ae41dafd5d8940414edca35fb54afa934b3e6e (diff)
Adding rt for bug 5
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r--src/rebar_core.erl15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 8886251..8b7c74f 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -319,13 +319,14 @@ process_subdirs(Dir, Modules, Config, ModuleSetFile, Command, ProcessedDirs) ->
%% http://bitbucket.org/basho/rebar/issue/5
%% If the compiler ran, run the preprocess again because a new ebin dir
%% may have been produced.
- {UpdatedConfig1, _} = case (Dirs =/= [] andalso compile == Command) of
- true ->
- acc_modules(Modules, preprocess, UpdatedConfig,
- ModuleSetFile);
- false ->
- {UpdatedConfig, Dirs}
- end,
+ %% {UpdatedConfig1, _} = case (Dirs =/= [] andalso compile == Command) of
+ %% true ->
+ %% acc_modules(Modules, preprocess, UpdatedConfig,
+ %% ModuleSetFile);
+ %% false ->
+ %% {UpdatedConfig, Dirs}
+ %% end,
+ UpdatedConfig1 = UpdatedConfig,
%% Make sure the CWD is reset properly; processing subdirs may have caused it
%% to change