-
Notifications
You must be signed in to change notification settings - Fork 28
/
mix.exs
67 lines (58 loc) · 1.35 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
defmodule X509.MixProject do
use Mix.Project
@source_url "https://github.com/voltone/x509"
@version "0.8.10"
def project do
[
app: :x509,
version: @version,
elixir: "~> 1.5",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "X509",
description: description(),
package: package(),
docs: docs(),
xref: [exclude: [IEx, :epp_dodger]]
]
end
def application do
[
extra_applications: extra_applications(Mix.env())
]
end
defp extra_applications(:test) do
extra_applications(:prod) ++ [:inets]
end
defp extra_applications(_env) do
[:crypto, :public_key, :logger, :ssl]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"Elixir package for working with X.509 certificates, Certificate Signing " <>
"Requests (CSRs), Certificate Revocation Lists (CRLs) and RSA/ECC key pairs"
end
defp package do
[
maintainers: ["Bram Verburg"],
licenses: ["BSD-3-Clause"],
links: %{
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"GitHub" => @source_url
}
]
end
defp docs do
[
main: "readme",
extras: ["CHANGELOG.md", "README.md"],
source_ref: "v#{@version}",
source_url: @source_url,
formatters: ["html"]
]
end
end