I created new Mix.Task
in /lib/mix/tasks/start.ex for my project
defmodule Mix.Tasks.Start do
use Mix.Task
def run(_), do: IO.puts("Hello, World!")
end
Now, it could be run from console like this :
mix start
But I'm getting Dialyzer error, that Callback info about the 'Elixir.Mix.Task' behaviour is not available
. What does it mean and how this could be fixed?
project
function from yourmix.exs
file, which carries the configuration. – Fraternity