34 lines
752 B
Elixir
34 lines
752 B
Elixir
|
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
|
||
|
[
|
||
|
[applications: [:logger, :sqlite_ecto, :ecto, :cowboy, :plug]]
|
||
|
# extra_applications: [:logger]
|
||
|
]
|
||
|
end
|
||
|
|
||
|
# Run "mix help deps" to learn about dependencies.
|
||
|
defp deps do
|
||
|
[
|
||
|
# {:dep_from_hexpm, "~> 0.3.0"},
|
||
|
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
|
||
|
{:bandit, "~> 1.2"},
|
||
|
{:plug, "~> 1.5"},
|
||
|
{:ecto_sqlite3, "~> 0.15"},
|
||
|
{:ecto, "~> 3.11"}
|
||
|
]
|
||
|
end
|
||
|
end
|