defmodule Thulani.MixProject do use Mix.Project def project do [ app: :thulani, version: "0.1.0", elixir: "~> 1.14", start_permanent: Mix.env() == :prod, deps: deps() ] end def application do [ mod: {Thulani, []}, extra_applications: [:logger, :crypto] ++ debug_applications() ] end defp debug_applications() do if Mix.env() != :prod do [:observer, :runtime_tools, :wx, :debugger] else [] end end defp deps do [ {:nostrum, "~> 0.10", override: true}, {:nosedrum, github: "jchristgit/nosedrum"}, {:witchcraft, "~> 1.0"}, {:quark, "~> 2.3"}, {:exceptional, "~> 2.1"}, {:ok, "~> 2.3"}, {:phoenix_pubsub, "~>2.1"}, {:uuid, "~> 1.1"}, {:rustler, "~> 0.34"}, {:ecto_sql, "~> 3.11"}, {:postgrex, "~> 0.14"}, {:dotenv, "~> 3.0"}, {:req, "~> 0.5"}, {:credo, "~> 1.0", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.1", only: :dev, runtime: false} ] end end