If I have a mix.exs file something like:
defmodule Mix.Tasks.My_task do use Mix.Task @shortdoc "Perform my task" def run(_) do IO.puts "Working" end end defmodule ElixirKoans.Mixfile do use Mix.Project def project do ... end
I can happily run this with mix my_task .
How do I make my_task the default, so it runs when I run mix without a task?
elixir mix
Bryan Ash Sep 29 '13 at 0:05 2013-09-29 00:05
source share