forked from paulanthonywilson/basic_auth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
40 lines (36 loc) · 891 Bytes
/
mix.exs
File metadata and controls
40 lines (36 loc) · 891 Bytes
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 BasicAuth.Mixfile do
use Mix.Project
def project do
[app: :basic_auth,
description: "Basic Authentication Plug",
package: package(),
version: "2.1.4",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
docs: [
main: "BasicAuth",
],
]
end
def application do
[applications: [:logger, :cowboy, :plug]]
end
defp deps do
[{:cowboy, "~> 1.0"},
{:plug, "~> 0.14 or ~> 1.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:credo, ">= 0.0.0", only: [:dev, :test]},
]
end
defp package do
[
contributors: ["Mark Connell", "Paul Wilson"],
maintainers: ["Paul Wilson"],
licenses: ["MIT"],
links: %{github: "https://github.com/cultivatehq/basic_auth"},
files: ~w(lib LICENSE.md mix.exs README.md),
]
end
end