浏览代码

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 ...
pull/3/head
Tuncer Ayaz 11 年前
父节点
当前提交
fe9d328cb5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
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",

正在加载...
取消
保存