-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
45 lines (39 loc) · 998 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
42
43
44
45
defmodule ExopPlug.MixProject do
use Mix.Project
@description """
This library provides a convinient way to validate incoming parameters
of your Phoenix application's controllers.
"""
@source_url "https://github.com/madeinussr/exop_plug"
def project do
[
app: :exop_plug,
version: "1.1.0",
elixir: "~> 1.8",
name: "ExopPlug",
description: @description,
package: package(),
deps: deps(),
source_url: @source_url,
docs: [extras: ["README.md"]],
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod
]
end
def application, do: []
defp deps do
[
{:plug, "~> 1.8"},
{:exop, "~> 1.4", only: [:test]},
{:ex_doc, "~> 0.20", only: [:dev, :test, :docs]}
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Andrey Chernykh"],
licenses: ["MIT"],
links: %{"Github" => @source_url}
]
end
end