chore: remove boilerplate.

This commit is contained in:
James Harton 2021-09-29 10:27:05 +13:00
parent 07e22a7c2d
commit 477e938539
4 changed files with 3 additions and 26 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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