forked from BlakeWilliams/Elixir-Slack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
47 lines (41 loc) · 1.16 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 Slack.Mixfile do
use Mix.Project
def project do
[app: :slack,
version: "0.14.0",
elixir: "~> 1.2",
elixirc_paths: elixirc_paths(Mix.env),
name: "Slack",
deps: deps(),
docs: docs(),
source_url: "https://github.com/BlakeWilliams/Elixir-Slack",
description: "A Slack Real Time Messaging API client.",
package: package()]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[applications: [:logger, :httpoison, :hackney, :crypto, :websocket_client]]
end
defp deps do
[{:httpoison, "~> 0.11"},
{:websocket_client, "~> 1.2.4"},
{:poison, "~> 3.0"},
{:earmark, "~> 0.2.0", only: :dev},
{:ex_doc, "~> 0.12", only: :dev},
{:credo, "~> 0.5", only: [:dev, :test]},
{:plug, "~> 1.3", only: :test},
{:cowboy, "~> 1.0.0", only: :test}
]
end
def docs do
[{:main, Slack}]
end
defp package do
%{maintainers: ["Blake Williams"],
licenses: ["MIT"],
links: %{
"Github": "https://github.com/BlakeWilliams/Elixir-Slack",
"Documentation": "http://hexdocs.pm/slack/"}}
end
end