diff options
| author | Nathan Perry <np@nathanperry.dev> | 2020-01-28 16:06:48 -0500 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2020-01-28 16:06:48 -0500 |
| commit | 5dadc47eb07be076a8b270458badb9d8cd7dfead (patch) | |
| tree | 69918ab33ded1e98905ebdf99c6f88f373a7a396 /apps/thulani_bot/mix.exs | |
| parent | dde5eb52706a9ca8ee257a6cbd75e243582d0a86 (diff) | |
start elixir conversion
Diffstat (limited to 'apps/thulani_bot/mix.exs')
| -rw-r--r-- | apps/thulani_bot/mix.exs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/thulani_bot/mix.exs b/apps/thulani_bot/mix.exs new file mode 100644 index 0000000..13afa4f --- /dev/null +++ b/apps/thulani_bot/mix.exs @@ -0,0 +1,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 |
