-
Notifications
You must be signed in to change notification settings - Fork 30
/
mix.exs
51 lines (44 loc) · 1.08 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
48
49
50
51
defmodule HedwigSlack.Mixfile do
use Mix.Project
@version "1.0.1"
def project do
[app: :hedwig_slack,
name: "Hedwig Slack",
version: @version,
elixir: "~> 1.1",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package(),
description: "A Slack adapter for Hedwig",
deps: deps()]
end
def application do
[mod: {HedwigSlack, []},
applications: [
:logger,
:hackney,
:hedwig,
:jason,
:websocket_client
]]
end
defp deps do
[{:hackney, "~> 1.9"},
{:hedwig, "~> 1.0"},
{:jason, "~> 1.0"},
{:websocket_client, "~> 1.3"},
# Test dependencies
{:bypass, "~> 0.5", only: :test}]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Sonny Scroggin"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/hedwig-im/hedwig_slack"
}]
end
end