-
Notifications
You must be signed in to change notification settings - Fork 23
/
mix.exs
60 lines (53 loc) · 1.49 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
defmodule Eximap.Mixfile do
use Mix.Project
@version "0.1.2-dev"
def project do
[
app: :eximap,
version: @version,
elixir: "~> 1.5",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package(),
deps: deps(),
description: "A simple library to interact with an IMAP server",
# Docs
name: "Eximap",
source_url: "https://github.com/around25/eximap",
homepage_url: "https://around25.com",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test],
docs: docs()
]
end
defp package do
[
name: "eximap",
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Cosmin Harangus <[email protected]>"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/around25/eximap"},
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Eximap.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 0.8.8", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.19", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.7.4", only: [:dev, :test], runtime: false},
]
end
defp docs do
[
main: "readme", # The main page in the docs
extras: ["README.md", "DEVELOPER.md", "CONTRIBUTING.md", "CODE_OF_CONDUCT.md"]
]
end
end