-
Notifications
You must be signed in to change notification settings - Fork 15
/
mix.exs
82 lines (75 loc) · 1.83 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
76
77
78
79
80
81
82
defmodule Burnex.Mixfile do
use Mix.Project
@source_url "https://github.com/Betree/burnex"
@version String.trim(File.read!("VERSION"))
def project do
[
app: :burnex,
version: @version,
elixir: "~> 1.7",
description: "Elixir burner email (temporary address) detector",
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
docs: docs(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
credo: :test,
coveralls: :test,
"coveralls.detail": :test,
"coveralls.github": :test,
"coveralls.post": :test,
"coveralls.html": :test,
dialyzer: :test
],
dialyzer: [
remove_defaults: [:unknown],
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
]
end
def application do
[]
end
defp deps do
[
# Dev
{:credo, "~> 1.6.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:eliver, "~> 2.0.0", only: :dev},
# Testing
{:excoveralls, "~> 0.10", only: :test, runtime: false},
{:stream_data, "~> 0.1", only: :test}
]
end
defp package do
[
files: [
"lib",
"priv/burner-email-providers",
"mix.exs",
"README.md",
"CHANGELOG.md",
"LICENSE",
"VERSION"
],
maintainers: ["Benjamin Piouffle"],
licenses: ["MIT"],
links: %{
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"GitHub" => @source_url
}
]
end
defp docs do
[
main: "Burnex",
api_reference: false,
homepage_url: @source_url,
source_ref: @version,
source_url: @source_url,
extras: ["CHANGELOG.md"]
]
end
end