You've already forked tribes-plugin-kobold
0a3a91a62a
CI / Test (push) Failing after 17s
Generate the initial Kobold external plugin with host-backed tests, browser-safe asset bundling, and the MVP PRD under docs/.
22 lines
585 B
Elixir
22 lines
585 B
Elixir
defmodule TribeOne.TribesPlugin.Kobold.Application do
|
|
@moduledoc """
|
|
OTP Application for this plugin.
|
|
|
|
Uncomment the `mod:` entry in mix.exs to activate this supervision tree.
|
|
Add plugin-specific GenServers, workers, or supervisors as children here.
|
|
"""
|
|
|
|
use Application
|
|
|
|
@impl true
|
|
def start(_type, _args) do
|
|
children = [
|
|
# Add your supervised processes here, e.g.:
|
|
# {TribeOne.TribesPlugin.Kobold.Worker, []}
|
|
]
|
|
|
|
opts = [strategy: :one_for_one, name: TribeOne.TribesPlugin.Kobold.Supervisor]
|
|
Supervisor.start_link(children, opts)
|
|
end
|
|
end
|