forked from sasa1977/site_encrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
67 lines (61 loc) · 1.61 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 SiteEncrypt.MixProject do
use Mix.Project
@version "0.4.0"
def project do
[
app: :site_encrypt,
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [plt_add_deps: :transitive, remove_defaults: [:unknown]],
docs: docs(),
package: package()
]
end
def application do
[
extra_applications: [:logger, :inets],
mod: {SiteEncrypt.Application, []}
]
end
defp deps do
[
{:castore, "~> 0.1"},
{:dialyxir, "~> 1.0", runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:jason, "~> 1.0"},
{:jose, "~> 1.10"},
{:mint, "~> 1.1"},
{:nimble_options, "~> 0.2"},
{:parent, "~> 0.11"},
{:phoenix, "~> 1.5", optional: true},
{:plug_cowboy, "~> 2.2", optional: true},
{:plug, "~> 1.7", optional: true},
{:stream_data, "~> 0.1", only: [:dev, :test]},
{:x509, "~> 0.3"}
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md"],
source_url: "https://github.com/sasa1977/site_encrypt/",
source_ref: @version
]
end
defp package() do
[
description: "Integrated certification via Let's encrypt for Elixir-powered sites",
maintainers: ["Saša Jurić"],
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/sasa1977/site_encrypt",
"Changelog" =>
"https://github.com/sasa1977/site_encrypt/blob/#{@version}/CHANGELOG.md##{
String.replace(@version, ".", "")
}"
}
]
end
end