diff options
Diffstat (limited to 'mix.exs')
| -rw-r--r-- | mix.exs | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -14,14 +14,22 @@ defmodule Thulani.MixProject do def application do [ mod: {Thulani, []}, - extra_applications: [:logger, :crypto] + 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"}, - {:nosedrum, "~> 0.5"}, + {:nostrum, "~> 0.10", override: true}, + {:nosedrum, github: "jchristgit/nosedrum"}, {:witchcraft, "~> 1.0"}, {:quark, "~> 2.3"}, {:exceptional, "~> 2.1"}, @@ -31,6 +39,8 @@ defmodule Thulani.MixProject do {: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} ] |
