diff options
| -rw-r--r-- | src/rebar.erl | 6 | ||||
| -rw-r--r-- | src/rebar_core.erl | 16 | ||||
| -rw-r--r-- | src/rebar_edoc.erl | 2 | 
3 files changed, 15 insertions, 9 deletions
| diff --git a/src/rebar.erl b/src/rebar.erl index e11df3a..3f685a1 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -163,7 +163,8 @@ parse_args(Args) ->                                      proplists:get_bool(profile, Options)),              %% Setup flag to keep running after a single command fails -            rebar_config:set_global(keep_going, proplists:get_bool(keep_going, Options)), +            rebar_config:set_global(keep_going, +                                    proplists:get_bool(keep_going, Options)),              %% Set global variables based on getopt options              set_log_level(Options), @@ -308,7 +309,8 @@ option_spec_list() ->       {jobs,     $j, "jobs",     integer,   JobsHelp},       {config,   $C, "config",   string,    "Rebar config file to use"},       {profile,  $p, "profile",  undefined, "Profile this run of rebar"}, -     {keep_going, $k, "keep-going", undefined, "Keep running after a command fails"} +     {keep_going, $k, "keep-going", undefined, +      "Keep running after a command fails"}      ].  %% diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 14ff754..9abd233 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -82,8 +82,8 @@ process_commands([Command | Rest], ParentConfig) ->          Operations = erlang:get(operations),          %% Convert the code path so that all the entries are absolute paths. -        %% If not, code:set_path() may choke on invalid relative paths when trying -        %% to restore the code path from inside a subdirectory. +        %% If not, code:set_path() may choke on invalid relative paths when +        %% trying to restore the code path from inside a subdirectory.          true = rebar_utils:expand_code_path(),          _ = process_dir(rebar_utils:get_cwd(), ParentConfig,                          Command, sets:new()), @@ -120,7 +120,8 @@ process_dir(Dir, ParentConfig, Command, DirSet) ->          true ->              AbsDir = filename:absname(Dir), -            ShouldPrintDir = not (is_skip_dir(Dir) orelse processing_base_dir(Dir)), +            ShouldPrintDir = not (is_skip_dir(Dir) +                                  orelse processing_base_dir(Dir)),              case ShouldPrintDir of                  true -> @@ -272,7 +273,8 @@ remember_cwd_subdir(Cwd, Subdirs) ->      Store = fun(Dir, Dict) ->                      case dict:find(Dir, Dict) of                          error -> -                            ?DEBUG("Associate sub_dir ~s with ~s~n", [Dir, Cwd]), +                            ?DEBUG("Associate sub_dir ~s with ~s~n", +                                   [Dir, Cwd]),                              dict:store(Dir, Cwd, Dict);                          {ok, Existing} ->                              ?ABORT("Internal consistency assertion failed.~n" @@ -514,11 +516,13 @@ plugin_modules(Config, SubdirAssoc, Modules) ->  plugin_modules(_Config, _SubdirAssoc, FoundModules, []) ->      {ok, FoundModules};  plugin_modules(Config, SubdirAssoc, FoundModules, MissingModules) -> -    {Loaded, NotLoaded} = load_plugin_modules(Config, SubdirAssoc, MissingModules), +    {Loaded, NotLoaded} = load_plugin_modules(Config, SubdirAssoc, +                                              MissingModules),      AllViablePlugins = FoundModules ++ Loaded,      case NotLoaded =/= [] of          true -> -            %% NB: we continue to ignore this situation, as did the original code +            %% NB: we continue to ignore this situation, as did the +            %% original code              ?WARN("Missing plugins: ~p\n", [NotLoaded]);          false ->              ?DEBUG("Loaded plugins: ~p~n", [AllViablePlugins]), diff --git a/src/rebar_edoc.erl b/src/rebar_edoc.erl index b2cd671..5d85146 100644 --- a/src/rebar_edoc.erl +++ b/src/rebar_edoc.erl @@ -57,7 +57,7 @@ doc(Config, File) ->      %% Determine the age of the summary file      EDocInfoName = filename:join(proplists:get_value(dir, EDocOpts, "doc"), -                                    "edoc-info"), +                                 "edoc-info"),      EDocInfoLastMod = filelib:last_modified(EDocInfoName),      %% For each source directory, look for a more recent file than | 
