TIL - mix comile (funny)

Just wanted to share something that hit my funny bone!

I installed OTP 25.0-rc1 via asdf and decided to set it as global. I cd into to root of a fairly large project I’m working on and type mix comile ← missing the ‘p’, but at that moment, I didn’t notice.

So, because of a new OTP version, mix proceeds to compile the whole project and all it’s dependencies just to helpfully inform me of my mistake:

** (Mix) The task "comile" could not be found. Did you mean "compile"?


LOL Mission accomplished!


Mission failed successfully! :lol: