X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=mix.exs;h=0fb40e07b11387b98ae161f5d83ddb939d6d2d5d;hb=07e93f99404787b2c6b6193f90cb4102d00a72f9;hp=bd9bce7665c7b99fce4adf9cb98d109f1011bb47;hpb=776179c2ed72323db245d7eef20054beea0db429;p=akkoma diff --git a/mix.exs b/mix.exs index bd9bce766..0fb40e07b 100644 --- a/mix.exs +++ b/mix.exs @@ -8,6 +8,12 @@ defmodule Pleroma.Mixfile do elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), + elixirc_options: + if Mix.env() == :test do + [] + else + [warnings_as_errors: true] + end, start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps(), @@ -69,7 +75,9 @@ defmodule Pleroma.Mixfile do git: "https://github.com/msantos/crypt", ref: "1f2b58927ab57e72910191a7ebaeff984382a1d3"}, {:cors_plug, "~> 1.5"}, {:ex_doc, "> 0.18.3 and < 0.20.0", only: :dev, runtime: false}, - {:web_push_encryption, "~> 0.2.1"} + {:web_push_encryption, "~> 0.2.1"}, + {:swoosh, "~> 0.20"}, + {:gen_smtp, "~> 0.13"} ] end