34 lines
622 B
Elixir

defmodule MessageServer.MixProject do
use Mix.Project
def project do
[
app: :message_server,
version: "0.1.0",
elixir: "~> 1.18",
dialyzer: [
plt_add_apps: [:mix, :ex_unit],
flags: [:error_handling, :race_conditions, :underspecs]
],
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application do
[
extra_applications: [:logger],
mod: {MessageServer.Application, []}
]
end
defp deps do
[
{:plug, "~> 1.16"},
{:bandit, "~> 1.5"},
{:req, "~> 0.5"},
{:jason, "~> 1.4"}
]
end
end