-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
55 lines (49 loc) · 1.19 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
52
53
54
55
defmodule Slash.Mixfile do
use Mix.Project
@version "2.0.4"
def project do
[
app: :slash,
version: @version,
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()),
name: "slash",
description: "Plug builder for the routing of Slack slash commands",
package: package(),
deps: deps(),
docs: [
main: "readme",
source_url: "https://github.com/vanetix/slash",
extras: [
"README.md"
]
]
]
end
def application do
[
extra_applications: []
]
end
defp deps do
[
{:plug, "~> 1.7"},
{:jason, "~> 1.1"},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.19.3", only: [:dev, :test]},
{:httpoison, "~> 1.5"},
{:inch_ex, "~> 2.0", only: [:test]},
{:mox, "~> 0.5.0", only: [:test]}
]
end
defp package do
[
maintainers: ["Matthew McFarland"],
licenses: ["MIT"],
links: %{github: "https://github.com/vanetix/slash"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end