Skip to content

Commit 1f91fd3

Browse files
committed
Merge pull request #2619 from knewter/feature/2616_print_app_name_before_compiling_makefile_dependencies
Print app name before compiling Makefile deps
2 parents 3b34a57 + ab43993 commit 1f91fd3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/mix/lib/mix/tasks/deps.compile.ex

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,13 @@ defmodule Mix.Tasks.Deps.Compile do
136136
end
137137

138138
defp do_make(dep) do
139-
if match?({:win32, _}, :os.type) and File.regular?("Makefile.win") do
140-
do_command(dep, "nmake /F Makefile.win")
139+
command = if match?({:win32, _}, :os.type) and File.regular?("Makefile.win") do
140+
"nmake /F Makefile.win"
141141
else
142-
do_command(dep, "make")
142+
"make"
143143
end
144+
Mix.shell.info("==> #{dep.app} (#{command})")
145+
do_command(dep, command)
144146
end
145147

146148
defp do_compile(%Mix.Dep{app: app, opts: opts} = dep) do

0 commit comments

Comments
 (0)