Skip to content

Commit

Permalink
Print app name before compiling Makefile deps
Browse files Browse the repository at this point in the history
This should close out elixir-lang#2616.
  • Loading branch information
Josh Adams committed Aug 2, 2014
1 parent 3b34a57 commit ab43993
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/mix/lib/mix/tasks/deps.compile.ex
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,13 @@ defmodule Mix.Tasks.Deps.Compile do
end

defp do_make(dep) do
if match?({:win32, _}, :os.type) and File.regular?("Makefile.win") do
do_command(dep, "nmake /F Makefile.win")
command = if match?({:win32, _}, :os.type) and File.regular?("Makefile.win") do
"nmake /F Makefile.win"
else
do_command(dep, "make")
"make"
end
Mix.shell.info("==> #{dep.app} (#{command})")
do_command(dep, command)
end

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

0 comments on commit ab43993

Please sign in to comment.