summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2014-03-05 19:45:22 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2014-03-12 20:45:37 +0100
commitfe9d328cb5133ee91dd3bbd45849e0772bf197c5 (patch)
treedab57b6e8fcdb00c2c845397e1cc17a9e8273254
parent47c089aa806653d826b8bc5f4b8dc29724af1da7 (diff)
erlc: fixup log message
Using the filename as a prefix is less readable and inconsistent with the other log messages. Before: DEBUG: src/foo.erl depends on... After: DEBUG: Dependencies of src/foo.erl ...
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 75d47fb..473a8aa 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -538,7 +538,7 @@ internal_erl_compile(Config, Source, OutDir, ErlOpts, G) ->
%% Determine the target name and includes list by inspecting the source file
Module = filename:basename(Source, ".erl"),
Parents = get_parents(G, Source),
- log_files(?FMT("~s depends on", [Source]), Parents),
+ log_files(?FMT("Dependencies of ~s", [Source]), Parents),
%% Construct the target filename
Target = filename:join([OutDir | string:tokens(Module, ".")]) ++ ".beam",