Add --trace flag to mix compile

117 views
Skip to first unread message

Michał Muskała

unread,
Jul 15, 2017, 3:42:43 PM7/15/17
to elixir-l...@googlegroups.com
Hello everybody,

Today when something wired happens with compilation (like files recompiling when they shouldn't be), it's hard to even figure out what exactly is being compiled. I propose adding a --trace flag that would print a bit more information. At least it would be nice to get information about what files are being compiled, but it could also be interesting to see something more - for example why a file is being compiled making use of the compile-time dependancy information. This could greatly simplify debugging compilation issues.

Michał.

José Valim

unread,
Jul 15, 2017, 4:54:17 PM7/15/17
to elixir-l...@googlegroups.com
That always helps, so +1. The only question is if we should introduce a new flag or rather rely on MIX_DEBUG=1.



José Valim
Skype: jv.ptec
Founder and Director of R&D

--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/9e6f5eaa-2e8d-4e02-8ed1-66480609206f%40Spark.
For more options, visit https://groups.google.com/d/optout.

Dmitry Belyaev

unread,
Jul 17, 2017, 7:50:24 AM7/17/17
to elixir-l...@googlegroups.com
Some compilers display a little more when --verbose is used.
Reply all
Reply to author
Forward
0 new messages