diff options
Diffstat (limited to 'src/rebar_base_compiler.erl')
-rw-r--r-- | src/rebar_base_compiler.erl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/rebar_base_compiler.erl b/src/rebar_base_compiler.erl index 0536c06..e8fb26f 100644 --- a/src/rebar_base_compiler.erl +++ b/src/rebar_base_compiler.erl @@ -135,12 +135,12 @@ compile_each([], _Config, _CompileFn) -> compile_each([Source | Rest], Config, CompileFn) -> case compile(Source, Config, CompileFn) of ok -> - ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), Source]); + ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), filename:basename(Source)]); {ok, Warnings} -> report(Warnings), - ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), Source]); + ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), filename:basename(Source)]); skipped -> - ?DEBUG("~sSkipped ~s\n", [rebar_utils:indent(1), Source]); + ?DEBUG("~sSkipped ~s\n", [rebar_utils:indent(1), filename:basename(Source)]); Error -> ?INFO("Compiling ~s failed:\n", [maybe_absname(Config, Source)]), @@ -173,14 +173,14 @@ compile_queue(Config, Pids, Targets) -> {compiled, Source, Warnings} -> report(Warnings), - ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), Source]), + ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), filename:basename(Source)]), compile_queue(Config, Pids, Targets); {compiled, Source} -> - ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), Source]), + ?INFO("~sCompiled ~s\n", [rebar_utils:indent(1), filename:basename(Source)]), compile_queue(Config, Pids, Targets); {skipped, Source} -> - ?DEBUG("~sSkipped ~s~n", [rebar_utils:indent(1), Source]), + ?DEBUG("~sSkipped ~s~n", [rebar_utils:indent(1), filename:basename(Source)]), compile_queue(Config, Pids, Targets); {'DOWN', Mref, _, Pid, normal} -> ?DEBUG("Worker exited cleanly\n", []), |