aboutsummaryrefslogtreecommitdiff
path: root/apps/thulani_bot/mix.exs
blob: 25e83738fb2e1df490c8752921c5d23e6a284aab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
defmodule Thulani.Bot.MixProject do
  use Mix.Project

  def project do
    [
      app: :thulani_bot,
      version: "0.1.0",
      build_path: "../../_build",
      config_path: "../../config/config.exs",
      deps_path: "../../deps",
      lockfile: "../../mix.lock",
      elixir: "~> 1.9",
      start_permanent: Mix.env() == :prod,
      deps: deps()
    ]
  end

  def application do
    [
      extra_applications: [
        :logger,
        :sasl
      ],
      mod: {Thulani.Bot.Application, []}
    ]
  end

  defp deps do
    [
      {:util, in_umbrella: true},
      {:nostrum, "~> 0.4", runtime: false},
      {:dialyxir, "~>1.0.0-rc.7", only: [:dev], runtime: false},
      {:credo, "~> 1.2", only: [:dev, :test], runtime: false}
    ]
  end
end