17 lines
287 B
Elixir
17 lines
287 B
Elixir
defmodule Mix.Tasks.Meditate do
|
|
use Mix.Task
|
|
alias Options
|
|
|
|
def run(args) do
|
|
Application.ensure_all_started(:elixir_koans)
|
|
Code.compiler_options(ignore_module_conflict: true)
|
|
Watcher.start
|
|
|
|
Options.start(args)
|
|
Runner.run
|
|
|
|
:timer.sleep(:infinity)
|
|
end
|
|
end
|
|
|