-
Notifications
You must be signed in to change notification settings - Fork 33
/
mix.exs
70 lines (64 loc) · 1.74 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
defmodule SiteEncrypt.MixProject do
use Mix.Project
@version "0.6.0"
def project do
[
app: :site_encrypt,
version: @version,
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: :app_tree,
plt_add_apps: [:mix, :ex_unit],
ignore_warnings: "dialyzer.ignore"
],
docs: docs(),
package: package()
]
end
def application do
[
extra_applications: [:logger, :inets],
mod: {SiteEncrypt.Application, []}
]
end
defp deps do
[
{:bandit, "~> 0.7 or ~> 1.0", optional: true},
{:castore, "~> 0.1 or ~> 1.0"},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:jason, "~> 1.0"},
{:jose, "~> 1.10"},
{:mint, "~> 1.4"},
{:nimble_options, "~> 0.3 or ~> 1.0"},
{:parent, "~> 0.11"},
{:phoenix, "~> 1.5", optional: true},
{:plug_cowboy, "~> 2.5", optional: true},
{:plug, "~> 1.7", optional: true},
{:stream_data, "~> 0.1", only: [:dev, :test]},
{:x509, "~> 0.8.8"}
]
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