You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ops, sorry. You are correct. The module name should be Compile.Yo_yo. The reason why we don't support Compile.YoYo is because we haven't decided if YoYo should translate to yo_yo or yo-yo which is more common for command lines.
GIVEN:
There are three identical task definitions
use Mix.Task
@shortdoc "Compile Dynamo source files"
def run(_) do
IO.puts @shortdoc
end
AND:
$ mix compile
=> Compiled lib/mix/tasks/yo.ex
=> Compiled lib/mix/tasks/compile.yo_yo.ex
=> Compiled lib/mix/tasks/compile.yo.ex
WHEN:
$ mix yo
=> Compile Dynamo source files
WHEN:
$ mix complile.yo
=> Compile Dynamo source files
BUT:
$ mix complile.yo_yo
=> The task compile.yo_yo could not be found
The text was updated successfully, but these errors were encountered: