-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
54 lines (48 loc) · 1.12 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
47
48
49
50
51
52
53
54
defmodule U2fEx.MixProject do
use Mix.Project
def project do
[
app: :u2f_ex,
version: "0.4.2",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
description: description(),
package: package(),
preferred_cli_env: [testall: :test]
]
end
def application do
[
extra_applications: [:logger],
mod: {U2FEx.App, []}
]
end
defp deps do
[
{:ex_doc, "~> 0.18", only: :dev, runtime: false},
{:credo, "~> 1.5.0", only: [:dev, :test], runtime: false},
{:jason, "~> 1.1"},
{:x509, "~> 0.8.1"},
{:dialyxir, "~> 1.1.0", only: [:dev], runtime: false}
]
end
defp aliases do
[
testall: ["credo", "test"]
]
end
defp description do
"A server-side Elixir implementation of the U2F (Universal 2nd Factor) protocol."
end
defp package do
[
name: "u2f_ex",
files: ["lib", "mix.exs", "LICENSE"],
maintainers: ["Ian Lee Clark"],
licenses: ["BSD 3-clause"],
links: %{"Github" => "https://github.com/GrappigPanda/u2f_ex"}
]
end
end