From 5dadc47eb07be076a8b270458badb9d8cd7dfead Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Tue, 28 Jan 2020 16:06:48 -0500 Subject: start elixir conversion --- apps/thulani_bot/mix.exs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 apps/thulani_bot/mix.exs (limited to 'apps/thulani_bot/mix.exs') 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 -- cgit v1.3.1