-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathmix.exs
53 lines (48 loc) · 1.18 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
defmodule Rackla.Mixfile do
use Mix.Project
def project do
[
app: :rackla,
version: "1.2.1",
elixir: "~> 1.0",
deps: deps,
package: package,
description: "Rackla is library for building API-gateways."
]
end
# Configuration for the OTP application
def application do
[applications: applications(Mix.env)]
end
defp applications(:dev), do: applications(:all) ++ [:remix]
defp applications(_all), do: [:logger, :plug, :hackney, :poison]
defp deps do
[
{:poison, "~> 2.2"},
{:hackney, "~> 1.6"},
{:cowboy, "~> 1.0", optional: true},
{:plug, "~> 1.2"},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.13", only: :dev},
{:remix, "~> 0.0", only: :dev},
{:dialyxir, "~> 0.3", only: :dev}
]
end
defp package do
[
maintainers: ["Anton Fagerberg"],
licenses: ["Apache 2"],
links: %{"GitHub" => "https://github.com/AntonFagerberg/rackla"},
files: [
"lib/proxy.ex",
"lib/rackla.ex",
"lib/request.ex",
"lib/response.ex",
"mix.exs",
"README.md",
"LICENSE",
"CHANGELOG.md"
]
]
end
end