-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
66 lines (58 loc) · 1.61 KB
/
Copy pathmix.exs
File metadata and controls
66 lines (58 loc) · 1.61 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
defmodule ElixirDesignPatterns.MixProject do
use Mix.Project
def project do
[
app: :elixir_design_patterns,
version: "1.0.0",
elixir: "~> 1.19",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Documentation
name: "Elixir Design Patterns",
description: "Practical, runnable examples of OTP and functional design patterns in Elixir",
source_url: "https://github.com/ivan-podgurskiy/elixir-design-patterns",
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md"] ++ Path.wildcard("guides/*.md")
],
# Package
package: [
maintainers: ["Ivan Podgurskiy"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/ivan-podgurskiy/elixir-design-patterns"}
],
# Testing and analysis
test_coverage: [tool: ExCoveralls],
dialyzer: [
flags: [:error_handling, :underspecs, :unknown]
]
]
end
def cli do
[
preferred_envs: [
coveralls: :test,
"coveralls.cobertura": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger],
mod: {ElixirDesignPatterns.Application, []}
]
end
defp deps do
[
{:jitter, "~> 0.1"},
# Development and testing
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
{:excoveralls, "~> 0.18", only: :test}
]
end
end