forked from elixir-plug/plug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
40 lines (35 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
defmodule Plug.Mixfile do
use Mix.Project
@version "1.3.0"
def project do
[app: :plug,
version: @version,
elixir: "~> 1.2.3 or ~> 1.3",
deps: deps(),
package: package(),
description: "A specification and conveniences for composable " <>
"modules between web applications",
name: "Plug",
xref: [exclude: [:ranch, :cowboy, :cowboy_req, :cowboy_router]],
docs: [extras: ["README.md"], main: "readme",
source_ref: "v#{@version}",
source_url: "https://github.com/elixir-lang/plug"]]
end
# Configuration for the OTP application
def application do
[applications: [:crypto, :logger, :mime],
mod: {Plug, []}]
end
def deps do
[{:mime, "~> 1.0"},
{:cowboy, "~> 1.0.1 or ~> 1.1", optional: true},
{:ex_doc, "~> 0.12", only: :docs},
{:inch_ex, ">= 0.0.0", only: :docs},
{:hackney, "~> 1.2.0", only: :test}]
end
defp package do
%{licenses: ["Apache 2"],
maintainers: ["José Valim"],
links: %{"GitHub" => "https://github.com/elixir-lang/plug"}}
end
end