forked from paulanthonywilson/basic_auth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
46 lines (41 loc) · 1.04 KB
/
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
46
defmodule BasicAuth.Mixfile do
use Mix.Project
def project do
[app: :basic_auth,
description: "Basic Authentication Plug",
package: package(),
version: "2.2.2",
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
elixirc_paths: elixirc_paths(Mix.env),
deps: deps(),
docs: [
main: "readme",
extras: ["README.md"],
],
]
end
def application do
[applications: [:logger, :cowboy, :plug]]
end
defp deps do
[
{:plug, "~> 1.5.0-rc.0"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:cowboy, "~> 2.1"},
{:credo, ">= 0.0.0", only: [:dev, :test]},
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
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