-
Notifications
You must be signed in to change notification settings - Fork 21
/
mix.exs
41 lines (36 loc) · 827 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 PlugAttack.Mixfile do
use Mix.Project
def project do
[
app: :plug_attack,
version: "0.4.3",
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps()
]
end
def application do
[extra_applications: []]
end
defp description do
"""
A plug building toolkit for blocking and throttling abusive requests.
"""
end
defp deps do
[
{:plug, "~> 1.0"},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/michalmuskala/plug_attack"}
]
end
end