aboutsummaryrefslogtreecommitdiff
path: root/apps/thulani_bot/mix.exs
blob: 13afa4f66dd2e00a7236b2f693dd271f398acc18 (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
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],
      mod: {Thulani.Bot.Application, []}
    ]
  end

  defp deps do
    [
      # we look up the token based on an environment variable, so we can't do this
      {:nostrum, "~> 0.4"},
      {:util, in_umbrella: true}
    ]
  end
end