forked from DockYard/elixir-mail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
61 lines (53 loc) · 1.24 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
defmodule Mail.Mixfile do
use Mix.Project
@source_url "https://github.com/DockYard/elixir-mail"
@version "0.4.2"
def project do
[
app: :mail,
version: @version,
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps()
]
end
def application do
[
extra_applications: [:logger, :crypto]
]
end
def package do
[
maintainers: ["Brian Cardarella", "Andrew Timberlake"],
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Built by DockYard, Expert Elixir & Phoenix Consultants" =>
"https://dockyard.com/phoenix-consulting"
}
]
end
defp docs do
[
extras: ["CHANGELOG.md", "README.md"],
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}"
]
end
def description do
"Easily build a composable mail message"
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
end