-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
75 lines (69 loc) · 1.78 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
defmodule ExSslOptions.MixProject do
use Mix.Project
def project do
[
app: :ex_ssl_options,
version: "0.1.2",
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
elixirc_options: [
warnings_as_errors: true
],
dialyzer: [
flags: [:unmatched_returns, :error_handling, :unknown, :extra_return],
list_unused_filters: true,
plt_add_apps: [],
plt_local_path: "_build/plts/local",
plt_core_path: "_build/plts/core"
],
preferred_cli_env: [
quality: :test,
"coveralls.html": :test
],
deps: deps(),
test_coverage: [tool: ExCoveralls],
aliases: aliases(),
description: "A simple lib to define right SSL options",
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :ssl, :public_key, :crypto]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:certifi, "~> 2.12"},
# Dev deps
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:mix_audit, "~> 2.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.18", only: :test},
{:junit_formatter, "~> 3.4", only: [:test]}
]
end
defp aliases() do
[
quality: [
"format",
"credo --strict",
"deps.audit --format human",
"dialyzer",
"coveralls.html"
]
]
end
defp package() do
[
maintainers: ["David Julien"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/WTTJ/ex_ssl_options"
}
]
end
end