2024-02-13 01:39:18 +00:00
|
|
|
defmodule Queen.MixProject do
|
|
|
|
use Mix.Project
|
|
|
|
|
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :queen,
|
|
|
|
version: "0.1.0",
|
|
|
|
elixir: "~> 1.16.1",
|
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
deps: deps()
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
|
|
def application do
|
|
|
|
[
|
2024-02-17 22:28:47 +00:00
|
|
|
# extra_applications: [:logger, :ecto_sqlite3, :ecto, :bandit, :plug]
|
2024-02-18 20:47:20 +00:00
|
|
|
extra_applications: [:logger],
|
|
|
|
mod: {Queen.Application, []}
|
2024-02-13 01:39:18 +00:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
|
|
|
{:bandit, "~> 1.2"},
|
|
|
|
{:plug, "~> 1.5"},
|
|
|
|
{:ecto_sqlite3, "~> 0.15"},
|
|
|
|
{:ecto, "~> 3.11"}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|