-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmix.exs
More file actions
52 lines (46 loc) · 1.46 KB
/
mix.exs
File metadata and controls
52 lines (46 loc) · 1.46 KB
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
defmodule ElixirEmailReplyParser.Mixfile do
use Mix.Project
def project do
[app: :elixir_email_reply_parser,
version: "0.1.2",
description: description(),
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package(),
deps: deps(),
# Docs
name: "Elixir Email Reply Parser",
source_url: "https://github.com/hellogustav/elixir_email_reply_parser",
docs: [main: "readme",
extras: ["README.md", "LICENSE.md"]]]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
# Specify extra applications you'll use from Erlang/Elixir
[extra_applications: [:logger]]
end
defp description do
"""
Email reply parser for retrieval of the last reply from email message.
Originally an Elixir port of https://github.com/github/email_reply_parser
as well as its port https://github.com/zapier/email-reply-parser
enhanced by e.g. an ability to handle emails with German.
"""
end
defp package do
[name: :elixir_email_reply_parser,
maintainers: ["elixir.email.reply.parser@gmail.com"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/hellogustav/elixir_email_reply_parser"}]
end
defp deps do
[
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
{:earmark, "~> 1.2.0", only: :dev},
{:ex_doc, "~> 0.15", only: :dev}
]
end
end