chore: remove boilerplate.
This commit is contained in:
parent
07e22a7c2d
commit
477e938539
|
@ -7,3 +7,5 @@ config :git_ops,
|
|||
manage_mix_version?: true,
|
||||
manage_readme_version: "README.md",
|
||||
version_tag_prefix: "v"
|
||||
|
||||
config :phoenix, :json_library, Jason
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
defmodule Lamina.Dashboard.Application do
|
||||
# See https://hexdocs.pm/elixir/Application.html
|
||||
# for more information on OTP Applications
|
||||
@moduledoc false
|
||||
|
||||
use Application
|
||||
|
||||
@impl true
|
||||
def start(_type, _args) do
|
||||
children = [
|
||||
# Starts a worker by calling: Lamina.Dashboard.Worker.start_link(arg)
|
||||
# {Lamina.Dashboard.Worker, arg}
|
||||
]
|
||||
|
||||
# See https://hexdocs.pm/elixir/Supervisor.html
|
||||
# for other strategies and supported options
|
||||
opts = [strategy: :one_for_one, name: Lamina.Dashboard.Supervisor]
|
||||
Supervisor.start_link(children, opts)
|
||||
end
|
||||
end
|
3
mix.exs
3
mix.exs
|
@ -30,8 +30,7 @@ defmodule Lamina.Dashboard.MixProject do
|
|||
# Run "mix help compile.app" to learn about applications.
|
||||
def application do
|
||||
[
|
||||
extra_applications: [:logger],
|
||||
mod: {Lamina.Dashboard.Application, []}
|
||||
extra_applications: [:logger]
|
||||
]
|
||||
end
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
defmodule Lamina.DashboardTest do
|
||||
use ExUnit.Case
|
||||
doctest Lamina.Dashboard
|
||||
|
||||
test "greets the world" do
|
||||
assert Lamina.Dashboard.hello() == :world
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue