forked from nerves-hub/nerves_key_pkcs11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
55 lines (49 loc) · 1.14 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
55
defmodule NervesKey.PKCS11.MixProject do
use Mix.Project
def project do
[
app: :nerves_key_pkcs11,
version: "0.2.1",
elixir: "~> 1.7",
description: description(),
package: package(),
compilers: [:elixir_make | Mix.compilers()],
make_targets: ["all"],
make_clean: ["clean"],
dialyzer: dialyzer(),
docs: [extras: ["README.md"]],
start_permanent: Mix.env() == :prod,
deps: deps()
]
end
def application, do: []
defp description do
"PKCS #11 module for using the NervesKey"
end
defp package do
%{
files: [
"lib",
"src/*.[ch]",
"mix.exs",
"README.md",
"LICENSE",
"Makefile"
],
licenses: ["BSD-2-Clause"],
links: %{"GitHub" => "https://github.com/nerves-hub/nerves_key_pkcs11"}
}
end
defp deps do
[
{:elixir_make, "~> 0.4", runtime: false},
{:ex_doc, "~> 0.19", only: :docs, runtime: false},
{:dialyxir, "~> 1.0.0", only: :dev, runtime: false}
]
end
defp dialyzer() do
[
flags: [:race_conditions, :unmatched_returns, :error_handling]
]
end
end