-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
47 lines (43 loc) · 1.09 KB
/
mix.exs
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
37
38
39
40
41
42
43
44
45
46
47
defmodule ActiveAlice.Mixfile do
use Mix.Project
def project do
[ app: :active_alice,
version: "0.3.0",
elixir: "~> 1.2",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps() ]
end
def application do
[
applications: [:alice],
mod: {Alice, %{handlers: handlers()}}
]
end
defp handlers do
[
Alice.Handlers.Random,
Alice.Handlers.OhYouSo,
Alice.Handlers.GoogleImages,
Alice.Handlers.Karma,
Alice.Handlers.Shizzle,
Alice.Handlers.Wiki,
Alice.Handlers.Xkcd,
Alice.Handlers.Dogeme,
Alice.Handlers.Eats
]
end
defp deps do
[
{:alice, github: "alice-bot/alice", branch: "master", override: true},
# {:alice, "~> 0.3"},
{:alice_google_images, "~> 0.1"},
{:alice_karma, "~> 0.1"},
{:alice_shizzle, "~> 0.1"},
{:alice_wiki, "~> 1.0"},
{:alice_xkcd, "~> 0.0.5"},
{:alice_doge_me, "~> 0.1"},
{:alice_eats, "~> 0.1"}
]
end
end