Packages

Rotor is a build system for Elixir projects. Use it to compile things, run commands or do anything when files change.

Current section

Files

Jump to
rotor lib rotor.ex
Raw

lib/rotor.ex

defmodule Rotor do
use Application
def start(_type, _args) do
Rotor.Supervisor.start_link
end
defdelegate group_info(name), to: Rotor.GroupServer, as: :get
defdelegate all_groups(), to: Rotor.GroupServer, as: :all
defdelegate watch(name, paths, rotor_fn, options), to: Rotor.GroupServer, as: :add
defdelegate watch(name, paths, rotor_fn), to: Rotor.GroupServer, as: :add
defdelegate run(name), to: Rotor.GroupServer
defdelegate run_async(name), to: Rotor.GroupServer
defdelegate remove_group(name), to: Rotor.GroupServer, as: :remove
defdelegate stop_watching(name), to: Rotor.GroupServer, as: :remove
end