forked from elixir-plug/plug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
38 lines (33 loc) · 976 Bytes
/
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
defmodule Plug.Mixfile do
use Mix.Project
@version "1.1.0"
def project do
[app: :plug,
version: @version,
elixir: "~> 1.0",
deps: deps,
package: package,
description: "A specification and conveniences for composable " <>
"modules between web applications",
name: "Plug",
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],
mod: {Plug, []}]
end
def deps do
[{:cowboy, "~> 1.0", optional: true},
{:earmark, "~> 0.1", only: :docs},
{:ex_doc, "~> 0.11", only: :docs},
{:inch_ex, ">= 0.0.0", only: :docs},
{:hackney, "~> 1.2.0", only: :test}]
end
defp package do
%{licenses: ["Apache 2"],
links: %{"GitHub" => "https://github.com/elixir-lang/plug"}}
end
end