forked from koudelka/slacker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
39 lines (33 loc) · 946 Bytes
/
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
defmodule Slacker.Mixfile do
use Mix.Project
@version "0.0.3"
def project do
[app: :slacker,
version: @version,
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(Mix.env),
description: "A bot library for the Slack chat service.",
package: package()]
end
def application do
[applications: [:logger, :httpoison, :poison, :crypto, :ssl, :websocket_client]]
end
defp deps(:test) do
[{:plug_cowboy, "~> 2.0"},
{:plug, "~> 1.8.0"}] ++ deps(:prod)
end
defp deps(_env) do
[{:websocket_client, github: "jeremyong/websocket_client"},
{:httpoison, "~> 1.5.0"},
{:poison, "~> 3.1"},
{:inflex, "~> 1.0.0"}]
end
defp package do
[maintainers: ["Michael Shapiro"],
licenses: ["MIT"],
links: %{"GitHub": "https://github.com/koudelka/slacker",
"Slack": "https://api.slack.com"}]
end
end