-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmix.exs
41 lines (36 loc) · 883 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
39
40
41
defmodule PlugCors.Mixfile do
use Mix.Project
def project do
[ app: :plug_cors,
version: "0.8.2",
elixir: "~> 1.0.0",
description: description,
package: package,
deps: deps
]
end
def application do
[applications: [:logger, :plug, :cowboy]]
end
defp deps do
[
{:plug, "~> 1.0"},
{:cowboy, "~> 1.0.0", optional: true},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.6", only: :dev},
]
end
defp description do
"""
Deprecated: CORS Plug Middleware. Please use corsica instead
"""
end
defp package do
[
files: ["lib", "priv", "mix.exs", "README*", "readme*", "LICENSE*", "license*", "CHANGELOG*", "changelog*"],
contributors: ["Bryan Joseph"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/bryanjos/plug_cors"}
]
end
end